tweaked some teleport code

This commit is contained in:
k0rd 2013-10-01 22:14:44 -04:00
parent fdf7c6ec07
commit 87e36cdb39
2 changed files with 1 additions and 1 deletions

View file

@ -2252,7 +2252,7 @@ namespace TShockAPI
Color.Red);
}
var lastTileX = args.Player.LastNetPosition.X;
var lastTileY = args.Player.LastNetPosition.Y;
var lastTileY = args.Player.LastNetPosition.Y - 48;
if (!args.Player.Teleport(lastTileX, lastTileY))
{
args.Player.Spawn();