forked from MagicBane/Server
Refactored isShield and removed equipflag.
This commit is contained in:
@@ -891,7 +891,7 @@ public enum CombatManager {
|
||||
if (tarOff == null)
|
||||
return false;
|
||||
|
||||
return tarOff.getItemBase().isShield() != false;
|
||||
return ItemTemplate.isShield((tarOff));
|
||||
}
|
||||
|
||||
private static boolean isRanged(Item item) {
|
||||
|
||||
Reference in New Issue
Block a user