Refactored isShield and removed equipflag.

This commit is contained in:
MagicBot committed 2024-03-09 11:26:19 -05:00
1 parent 658b442b36
commit 6f028ab8c8
9 files changed
+65 -61

No files matched your search

+1 -1
View File
@@ -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) {