forked from MagicBane/Server
Unused variable.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user