Kick player on attempting cavern npc type modification.
This commit is contained in:
parent
ce5ee0d623
commit
cd58d79322
1 changed files with 1 additions and 0 deletions
|
|
@ -3715,6 +3715,7 @@ namespace TShockAPI
|
|||
|
||||
private static bool HandleSyncCavernMonsterType(GetDataHandlerArgs args)
|
||||
{
|
||||
args.Player.Kick("Exploit attempt detected!");
|
||||
TShock.Log.ConsoleDebug($"HandleSyncCavernMonsterType: Player is trying to modify NPC cavernMonsterType; this is a crafted packet! - From {args.Player.Name}");
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue