From e61593d74c4c8a7592abbd3f2d936586bf8147c1 Mon Sep 17 00:00:00 2001 From: DarkunderdoG Date: Sat, 7 Jan 2012 11:39:36 -0600 Subject: [PATCH] Reverted Previous Change - Debuff's look to be coming from the disable method without msg's to the client will look into this more. --- TShockAPI/TShock.cs | 2 ++ 1 file changed, 2 insertions(+) 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