disable -> kick
This commit is contained in:
parent
e9372be276
commit
f715d91dc6
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (detectedNPCBuffTimeCheat)
|
if (detectedNPCBuffTimeCheat)
|
||||||
{
|
{
|
||||||
args.Player.Disable("Added buff to NPC abnormally.", DisableFlags.WriteToLogAndConsole);
|
args.Player.Kick("Added buff to NPC abnormally.", true);
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue