kick Added buff msg add Type
This commit is contained in:
parent
54025a9b93
commit
f81debe879
1 changed files with 1 additions and 1 deletions
|
|
@ -2126,7 +2126,7 @@ namespace TShockAPI
|
|||
if (detectedNPCBuffTimeCheat)
|
||||
{
|
||||
TShock.Log.ConsoleDebug(GetString("Bouncer / OnNPCAddBuff rejected abnormal buff ({0}, last for {4}) added to {1} ({2}) from {3}.", type, npc.TypeName, npc.type, args.Player.Name, time));
|
||||
args.Player.Kick(GetString($"Added buff to {npc.TypeName} NPC abnormally."), true);
|
||||
args.Player.Kick($"Added buff {type} to {npc.TypeName} NPC abnormally.", true);
|
||||
args.Handled = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue