Browse Source

More itembase refactor

combat-2
MagicBot 8 months ago
parent
commit
2b7cc2bdd7
  1. 10
      src/engine/objects/ProducedItem.java

10
src/engine/objects/ProducedItem.java

@ -47,7 +47,7 @@ public class ProducedItem {
public ProducedItem(ResultSet rs) throws SQLException { public ProducedItem(ResultSet rs) throws SQLException {
this.ID = rs.getInt("ID"); this.ID = rs.getInt("ID");
this.npcUID = rs.getInt("npcUID"); this.npcUID = rs.getInt("npcUID");
this.templateID = rs.getInt("itemBaseID"); this.templateID = rs.getInt("templateID");
Date sqlDateTime = rs.getTimestamp("dateToUpgrade"); Date sqlDateTime = rs.getTimestamp("dateToUpgrade");
@ -108,10 +108,6 @@ public class ProducedItem {
return prefix; return prefix;
} }
public void setPrefix(String prefix) {
this.prefix = prefix;
}
public String getSuffix() { public String getSuffix() {
return suffix; return suffix;
} }
@ -157,10 +153,6 @@ public class ProducedItem {
return inForge; return inForge;
} }
public void setInForge(boolean inForge) {
this.inForge = inForge;
}
public int getValue() { public int getValue() {
return value; return value;
} }

Loading…
Cancel
Save