From efc36825a3b189442cfa65131e44979befc90134 Mon Sep 17 00:00:00 2001 From: Twitchy Date: Sat, 25 Jun 2011 02:36:02 +1200 Subject: [PATCH] Fixed remember positions to teleport you to the correct position and not create duplicates of players --- TShockAPI/TShock.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 183a8cf7..8edbf3e1 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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; } } }