ItemManager created
This commit is contained in:
@@ -909,7 +909,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
||||
if (shield == null)
|
||||
return 0;
|
||||
|
||||
if (ItemTemplate.isShield(shield) == false)
|
||||
if (ItemManager.isShield(shield) == false)
|
||||
return 0;
|
||||
|
||||
ItemTemplate template = shield.template;
|
||||
@@ -995,7 +995,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
||||
|
||||
if (weapon == null) {
|
||||
weapon = equipped.get(EquipSlotType.LHELD);
|
||||
if (weapon == null || ItemTemplate.isShield(weapon))
|
||||
if (weapon == null || ItemManager.isShield(weapon))
|
||||
unarmed = true;
|
||||
else
|
||||
weaponTemplate = weapon.template;
|
||||
|
||||
Reference in New Issue
Block a user