Move Utils.Kick to TSPlayer.Kick

This commit is contained in:
Lucas Nicodemus 2017-12-27 13:00:13 -07:00
parent b613fdcda6
commit f79c6a2962
6 changed files with 40 additions and 41 deletions

View file

@ -1426,7 +1426,7 @@ namespace TShockAPI
if (args.Text.Length > 500)
{
Utils.Kick(tsplr, "Crash attempt via long chat packet.", true);
tsplr.Kick("Crash attempt via long chat packet.", true);
args.Handled = true;
return;
}