Updated Local Files
This commit is contained in:
parent
87e3fd347d
commit
44afc6d8dd
3 changed files with 33 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue