From cde9901bb610cb7c4c2cca6362e73c82a4681f05 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 27 Mar 2024 18:00:20 -0500 Subject: [PATCH] remove ItemBase variables --- src/engine/objects/ItemBase.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/engine/objects/ItemBase.java b/src/engine/objects/ItemBase.java index dd45cb04..a2f9fff0 100644 --- a/src/engine/objects/ItemBase.java +++ b/src/engine/objects/ItemBase.java @@ -9,7 +9,6 @@ package engine.objects; -import engine.Enum; import engine.gameManager.DbManager; import org.pmw.tinylog.Logger; @@ -24,17 +23,11 @@ public class ItemBase { public final int uuid; private final int modTable; - private final short percentRequired; - private final float speed; - private final float range; public ItemBase(ResultSet rs) throws SQLException { this.uuid = rs.getInt("ID"); this.modTable = rs.getInt("modTable"); - this.percentRequired = rs.getShort("percentRequired"); - this.speed = rs.getFloat("speed"); - this.range = rs.getFloat("range"); ItemTemplate template = ItemTemplate.templates.get(this.getUUID()); @@ -75,16 +68,4 @@ public class ItemBase { return uuid; } - public float getSpeed() { - return speed; - } - - public float getRange() { - return range; - } - - public short getPercentRequired() { - return percentRequired; - } - }