From d03b2e4fbb4752501ee1b6ae87a1ec6c255356e3 Mon Sep 17 00:00:00 2001 From: darkunderdog Date: Sat, 7 Jan 2012 10:46:34 -0600 Subject: [PATCH] attempt at fixing debuff erros in cheat protection - Zidonuke may want to look more into this --- TShockAPI/TShock.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 7368ed08..08720853 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -546,7 +546,6 @@ namespace TShockAPI check = "Remove Item " + item.name + " (" + item.stack + ") exceeds max stack of " + item.maxStack; } } - player.IgnoreActionsForCheating = check; check = "none"; foreach (Item item in player.TPlayer.armor) { @@ -557,7 +556,6 @@ namespace TShockAPI check = "Remove Armor/Accessory " + item.name; } } - player.IgnoreActionsForDisabledArmor = check; if (CheckIgnores(player)) { player.SetBuff(33, 120); //Weak