Fixed remember positions to teleport you to the correct position and not create duplicates of players
This commit is contained in:
parent
4978e2960c
commit
efc36825a3
1 changed files with 3 additions and 0 deletions
|
|
@ -437,6 +437,9 @@ namespace TShockAPI
|
|||
if (playerIP.IP == Players[who].IP)
|
||||
{
|
||||
Players[who].Teleport((int)playerIP.Pos.X, (int)playerIP.Pos.Y);
|
||||
RemeberedPosManager.RemeberedPosistions.Remove(playerIP);
|
||||
RemeberedPosManager.WriteSettings();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue