From 2b7cc2bdd7b58d6de5f50244b257e39bbaa6dbb3 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 28 Mar 2024 05:38:38 -0400 Subject: [PATCH] More itembase refactor --- src/engine/objects/ProducedItem.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/engine/objects/ProducedItem.java b/src/engine/objects/ProducedItem.java index 41e496a0..8ebfe4ff 100644 --- a/src/engine/objects/ProducedItem.java +++ b/src/engine/objects/ProducedItem.java @@ -47,7 +47,7 @@ public class ProducedItem { public ProducedItem(ResultSet rs) throws SQLException { this.ID = rs.getInt("ID"); this.npcUID = rs.getInt("npcUID"); - this.templateID = rs.getInt("itemBaseID"); + this.templateID = rs.getInt("templateID"); Date sqlDateTime = rs.getTimestamp("dateToUpgrade"); @@ -108,10 +108,6 @@ public class ProducedItem { return prefix; } - public void setPrefix(String prefix) { - this.prefix = prefix; - } - public String getSuffix() { return suffix; } @@ -157,10 +153,6 @@ public class ProducedItem { return inForge; } - public void setInForge(boolean inForge) { - this.inForge = inForge; - } - public int getValue() { return value; }