remove ItemBase variables

This commit is contained in:
2024-03-27 18:00:20 -05:00
parent 7f452d18bc
commit cde9901bb6
-19
View File
@@ -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;
}
}