diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 08720853..7368ed08 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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