forked from MagicBane/Server
Refactor out item useID
This commit is contained in:
@@ -30,10 +30,7 @@ public class ItemBase {
|
||||
public final int uuid;
|
||||
|
||||
private final int modTable;
|
||||
private final int useID;
|
||||
private int hashID;
|
||||
private final byte useAmount;
|
||||
|
||||
private final short percentRequired;
|
||||
private final short defense;
|
||||
private final float dexPenalty;
|
||||
@@ -51,8 +48,6 @@ public class ItemBase {
|
||||
public ItemBase(ResultSet rs) throws SQLException {
|
||||
|
||||
this.uuid = rs.getInt("ID");
|
||||
this.useID = rs.getInt("useID");
|
||||
this.useAmount = rs.getByte("useAmount");
|
||||
this.modTable = rs.getInt("modTable");
|
||||
this.hashID = rs.getInt("itemHashID");
|
||||
|
||||
@@ -167,14 +162,6 @@ public class ItemBase {
|
||||
|
||||
}
|
||||
|
||||
public int getUseID() {
|
||||
return this.useID;
|
||||
}
|
||||
|
||||
public byte getUseAmount() {
|
||||
return this.useAmount;
|
||||
}
|
||||
|
||||
public int getModTable() {
|
||||
return modTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user