attempt at fixing debuff erros in cheat protection - Zidonuke may want to look more into this

This commit is contained in:
darkunderdog 2012-01-07 10:46:34 -06:00
parent 22b3cfc86e
commit d03b2e4fbb

View file

@ -546,7 +546,6 @@ namespace TShockAPI
check = "Remove Item " + item.name + " (" + item.stack + ") exceeds max stack of " + item.maxStack; check = "Remove Item " + item.name + " (" + item.stack + ") exceeds max stack of " + item.maxStack;
} }
} }
player.IgnoreActionsForCheating = check;
check = "none"; check = "none";
foreach (Item item in player.TPlayer.armor) foreach (Item item in player.TPlayer.armor)
{ {
@ -557,7 +556,6 @@ namespace TShockAPI
check = "Remove Armor/Accessory " + item.name; check = "Remove Armor/Accessory " + item.name;
} }
} }
player.IgnoreActionsForDisabledArmor = check;
if (CheckIgnores(player)) if (CheckIgnores(player))
{ {
player.SetBuff(33, 120); //Weak player.SetBuff(33, 120); //Weak