Refactored isShield and removed equipflag.

This commit is contained in:
2024-03-09 11:26:19 -05:00
parent 658b442b36
commit 6f028ab8c8
9 changed files with 65 additions and 61 deletions
+1 -2
View File
@@ -2491,8 +2491,7 @@ public class CharacterItemManager {
if (this.equipped.containsKey(Enum.EquipSlotType.LHELD)) {
Item item = this.equipped.get(Enum.EquipSlotType.LHELD);
ItemBase ib = item.getItemBase();
if (ib.isShield())
if (ItemTemplate.isShield(item))
armor.add(item);
}