Replace TSPlayer.IgnoreActionsForDisabledArmor -> boolean

TSPlayer.IgnoreActionsForBannedArmor was useless because it only
stored the last armor/dye a player had. Replaced with a boolean.
This commit is contained in:
Lucas Nicodemus 2017-12-20 17:26:06 -07:00
parent 7efcfd055f
commit 4e186e7375
5 changed files with 11 additions and 10 deletions

View file

@ -1161,7 +1161,7 @@ namespace TShockAPI
break;
}
}
player.IgnoreActionsForDisabledArmor = check;
player.IsDisabledForBannedWearable = true;
if (player.CheckIgnores())
{