Fix stuff with teleporting.
This commit is contained in:
parent
d44920023b
commit
1e6c74ace0
3 changed files with 42 additions and 33 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue