Redigit why is teleporting so hard.

This commit is contained in:
Zidonuke 2011-12-29 20:59:06 -05:00
parent 4d2639bb2a
commit 6aba5ca624

View file

@ -778,16 +778,13 @@ namespace TShockAPI
}
int lastTileX = (int) (args.Player.LastNetPosition.X/16f);
int lastTileY = (int) (args.Player.LastNetPosition.Y/16f);
if (!args.Player.Teleport(lastTileX, lastTileY + 3))
if (!args.Player.Teleport(lastTileX, lastTileY))
{
args.Player.Spawn();
}
return true;
}
else
{
return true;
}
return true;
}
if (args.Player.Dead)