We don't want to revert everything the player has done on the server in case of disable() for tilekill

This commit is contained in:
k0rd 2012-01-29 08:39:42 -05:00
parent 937b596dbe
commit 436cd058ec

View file

@ -492,6 +492,8 @@ namespace TShockAPI
if (player.TileKillThreshold > 0)
{
player.TileKillThreshold = 0;
//We don't want to revert the entire map in case of a disable.
player.TilesDestroyed.Clear();
}
if (player.TilesCreated != null)
{
@ -1429,4 +1431,4 @@ namespace TShockAPI
Utils.HashAlgo = file.HashAlgorithm;
}
}
}
}