forked from MagicBane/Server
item_wt refactored to template
This commit is contained in:
@@ -45,7 +45,6 @@ public class ItemBase {
|
||||
public EnumSet<Enum.ClassType> requiredClasses;
|
||||
public EnumSet<Enum.DisciplineType> requiredDiscs;
|
||||
public EnumSet<Enum.DisciplineType> restrictedDiscs;
|
||||
private final short weight;
|
||||
private final short color;
|
||||
private final ItemType type;
|
||||
private int vendorType;
|
||||
@@ -90,7 +89,6 @@ public class ItemBase {
|
||||
|
||||
this.uuid = rs.getInt("ID");
|
||||
|
||||
this.weight = rs.getShort("weight");
|
||||
this.color = rs.getShort("color");
|
||||
this.type = ItemType.valueOf(rs.getString("Type"));
|
||||
this.useID = rs.getInt("useID");
|
||||
@@ -256,11 +254,6 @@ public class ItemBase {
|
||||
DbManager.ItemBaseQueries.LOAD_BAKEDINSTATS(this);
|
||||
}
|
||||
|
||||
public short getWeight() {
|
||||
return this.weight;
|
||||
}
|
||||
|
||||
|
||||
public boolean isConsumable() {
|
||||
return this.isConsumable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user