diff --git a/src/engine/objects/ItemBase.java b/src/engine/objects/ItemBase.java index 92167f6e..dccece46 100644 --- a/src/engine/objects/ItemBase.java +++ b/src/engine/objects/ItemBase.java @@ -66,7 +66,6 @@ public class ItemBase { private final boolean isStrBased; private ArrayList animations = new ArrayList<>(); private ArrayList offHandAnimations = new ArrayList<>(); - private boolean autoID = false; /** * ResultSet Constructor @@ -121,8 +120,6 @@ public class ItemBase { break; } - this.autoIDItemsCheck(); - try { DbManager.ItemBaseQueries.LOAD_ANIMATIONS(this); } catch (Exception e) { @@ -320,59 +317,6 @@ public class ItemBase { this.hashID = hashID; } - private void autoIDItemsCheck() { - //AUto ID Vorg and Glass - switch (uuid) { - - case 27550: - case 27560: - case 27580: - case 27590: - case 188500: - case 188510: - case 188520: - case 188530: - case 188540: - case 188550: - case 189100: - case 189110: - case 189120: - case 189130: - case 189140: - case 189150: - case 189510: - case 27600: - case 181840: - case 188700: - case 188720: - case 189550: - case 189560: - case 7000100: - case 7000110: - case 7000120: - case 7000130: - case 7000140: - case 7000150: - case 7000160: - case 7000170: - case 7000180: - case 7000190: - case 7000200: - case 7000210: - case 7000220: - case 7000230: - case 7000240: - case 7000250: - case 7000270: - case 7000280: - this.autoID = true; - break; - default: - this.autoID = false; - } - } - - public boolean canEquip(Enum.EquipSlotType slot, CharacterItemManager itemManager, AbstractCharacter abstractCharacter, Item item) { if (itemManager == null || abstractCharacter == null) @@ -581,14 +525,6 @@ public class ItemBase { this.offHandAnimations = offHandAnimations; } - public boolean isAutoID() { - return autoID; - } - - public void setAutoID(boolean autoID) { - this.autoID = autoID; - } - public boolean isArmor() { if (this.isHeavyArmor()) diff --git a/src/engine/objects/MobLoot.java b/src/engine/objects/MobLoot.java index 8d98c039..0f84a863 100644 --- a/src/engine/objects/MobLoot.java +++ b/src/engine/objects/MobLoot.java @@ -76,7 +76,6 @@ public final class MobLoot extends Item { this.setNumOfItems(quantity); this.noSteal = noSteal; - this.setIsID(this.getItemBase().isAutoID()); // Class is 'final'; passing 'this' should be okay at the end of the constructor