Browse Source

Unused variable.

combat-2
MagicBot 8 months ago
parent
commit
82daff3b6e
  1. 6
      src/engine/objects/ItemBase.java

6
src/engine/objects/ItemBase.java

@ -68,7 +68,6 @@ public class ItemBase {
private final engine.Enum.SourceType damageType; private final engine.Enum.SourceType damageType;
private final boolean twoHanded; private final boolean twoHanded;
private boolean isConsumable; private boolean isConsumable;
private boolean isStackable;
// Item stat modifiers // Item stat modifiers
private final HashMap<Integer, Integer> bakedInStats = new HashMap<>(); private final HashMap<Integer, Integer> bakedInStats = new HashMap<>();
@ -95,7 +94,6 @@ public class ItemBase {
this.hashID = rs.getInt("itemHashID"); this.hashID = rs.getInt("itemHashID");
this.isConsumable = false; this.isConsumable = false;
this.isStackable = false;
this.equipFlag = rs.getInt("equipFlag"); this.equipFlag = rs.getInt("equipFlag");
this.restrictFlag = rs.getInt("restrictFlag"); this.restrictFlag = rs.getInt("restrictFlag");
@ -141,10 +139,6 @@ public class ItemBase {
this.isConsumable = true; this.isConsumable = true;
Boon.HandleBoonListsForItemBase(uuid); Boon.HandleBoonListsForItemBase(uuid);
break; break;
case RESOURCE:
this.isStackable = true;
break;
} }
this.autoIDItemsCheck(); this.autoIDItemsCheck();

Loading…
Cancel
Save