disable -> kick

This commit is contained in:
AxeelAnder 2018-10-21 11:01:08 +08:00
parent e9372be276
commit f715d91dc6

View file

@ -534,7 +534,7 @@ namespace TShockAPI
if (detectedNPCBuffTimeCheat)
{
args.Player.Disable("Added buff to NPC abnormally.", DisableFlags.WriteToLogAndConsole);
args.Player.Kick("Added buff to NPC abnormally.", true);
args.Handled = true;
}
}