diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index ecf12834..c42f4864 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -202,7 +202,7 @@ namespace TShockAPI public static void Spawn(CommandArgs args) { 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."); }