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:
parent
d03b2e4fbb
commit
e61593d74c
1 changed files with 2 additions and 0 deletions
|
|
@ -546,6 +546,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
|
@ -556,6 +557,7 @@ 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue