Fixed kill tile spamming when kicking
This commit is contained in:
parent
fe04331200
commit
693e279a78
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue