oops
This commit is contained in:
parent
2f02b7b9ae
commit
be94eecd3e
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ namespace TShockAPI
|
||||||
public static void Spawn(CommandArgs args)
|
public static void Spawn(CommandArgs args)
|
||||||
{
|
{
|
||||||
int ply = args.PlayerID;
|
int ply = args.PlayerID;
|
||||||
TShock.Teleport(ply, Main.spawnTileX * 16 + 8 - Main.player[ply].width / 2, Main.spawnTileY * 16 - this.height);
|
TShock.Teleport(ply, Main.spawnTileX * 16 + 8 - Main.player[ply].width / 2, Main.spawnTileY * 16 - Main.player[ply].height);
|
||||||
Tools.SendMessage(ply, "Teleported to your spawnpoint.");
|
Tools.SendMessage(ply, "Teleported to your spawnpoint.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue