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:
parent
7efcfd055f
commit
4e186e7375
5 changed files with 11 additions and 10 deletions
|
|
@ -1161,7 +1161,7 @@ namespace TShockAPI
|
|||
break;
|
||||
}
|
||||
}
|
||||
player.IgnoreActionsForDisabledArmor = check;
|
||||
player.IsDisabledForBannedWearable = true;
|
||||
|
||||
if (player.CheckIgnores())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue