From 974dbc242406d5f7cbf7ea69b0e46dc0180db7b7 Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sun, 5 Jun 2011 14:23:32 +0800 Subject: [PATCH] Forgot to clear the dictionary after each check. We don't want it revert ALL changes do we. --- TShockAPI/TShock.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 046a4ee0..66195597 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -517,10 +517,12 @@ namespace TShockAPI } } players[i].tileThreshold = 0; + players[i].tilesDestroyed.Clear(); } else if (players[i].tileThreshold > 0) { players[i].tileThreshold = 0; + players[i].tilesDestroyed.Clear(); } } }