add some anti-cheat code

This commit is contained in:
AxeelAnder 2018-10-20 17:44:34 +08:00
parent fc38521dbd
commit b9dedd77dc
3 changed files with 92 additions and 2 deletions

View file

@ -2678,7 +2678,7 @@ namespace TShockAPI
if (OnNPCAddBuff(args.Player, args.Data, id, type, time))
return true;
return true;
return false;
}
private static bool HandlePlayerAddBuff(GetDataHandlerArgs args)