Updated Local Files

This commit is contained in:
Darkvengance aka Sildaekar 2012-02-01 12:00:31 -06:00
parent 87e3fd347d
commit 44afc6d8dd
3 changed files with 33 additions and 10 deletions

View file

@ -854,10 +854,11 @@ namespace TShockAPI
if (Config.RememberLeavePos)
{
if (RememberedPos.GetLeavePos(player.Name, player.IP) != Vector2.Zero){
var pos = RememberedPos.GetLeavePos(player.Name, player.IP);
player.LastNetPosition = pos;
player.Teleport((int) pos.X, (int) pos.Y + 3);
}
}}
e.Handled = true;
}