From 693e279a7879287f26092cf4593d060e475283e9 Mon Sep 17 00:00:00 2001 From: high Date: Tue, 7 Jun 2011 05:21:21 -0400 Subject: [PATCH] Fixed kill tile spamming when kicking --- TShockAPI/TShock.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index cd32a89d..caa18666 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -681,6 +681,8 @@ namespace TShockAPI (ConfigurationManager.banTnt ? "banned" : "kicked") + " for kill tile abuse."); RevertKillTile((int)i); + players[i].tileThreshold = 0; + players[i].tilesDestroyed.Clear(); } else if (players[i].tileThreshold > 0) {