Fix stuff with teleporting.

This commit is contained in:
Zidonuke 2011-12-29 20:23:58 -05:00
parent d44920023b
commit 1e6c74ace0
3 changed files with 42 additions and 33 deletions

View file

@ -842,7 +842,7 @@ namespace TShockAPI
if (Config.RememberLeavePos)
{
var pos = RememberedPos.GetLeavePos(player.Name, player.IP);
player.Teleport((int) pos.X, (int) pos.Y);
player.Teleport((int) pos.X, (int) pos.Y + 3);
}
e.Handled = true;