From f715d91dc6682991c11a941c6367af39d1bb1f53 Mon Sep 17 00:00:00 2001 From: AxeelAnder <1491773534@qq.com> Date: Sun, 21 Oct 2018 11:01:08 +0800 Subject: [PATCH] disable -> kick --- TShockAPI/Bouncer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 395ecc36..7287924f 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -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; } }