Refactored isShield and removed equipflag.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user