Reverted Previous Change - Debuff's look to be coming from the disable method without msg's to the client will look into this more.

This commit is contained in:
DarkunderdoG 2012-01-07 11:39:36 -06:00
parent d03b2e4fbb
commit e61593d74c

View file

@ -546,6 +546,7 @@ 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)
{
@ -556,6 +557,7 @@ namespace TShockAPI
check = "Remove Armor/Accessory " + item.name;
}
}
player.IgnoreActionsForDisabledArmor = check;
if (CheckIgnores(player))
{
player.SetBuff(33, 120); //Weak