diff --git a/src/engine/objects/SkillsBase.java b/src/engine/objects/SkillsBase.java index 7410f27a..8d2e23c2 100644 --- a/src/engine/objects/SkillsBase.java +++ b/src/engine/objects/SkillsBase.java @@ -18,8 +18,6 @@ import engine.server.MBServerStatics; import engine.util.Hasher; import org.pmw.tinylog.Logger; -import java.sql.ResultSet; -import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -91,24 +89,6 @@ public class SkillsBase extends AbstractGameObject { this.spiMod = template.attr_weights.getOrDefault(AttributeType.Spirit, 0).shortValue(); } - /** - * ResultSet Constructor - */ - public SkillsBase(ResultSet rs) throws SQLException { - super(rs); - - this.name = rs.getString("name"); - this.nameNoSpace = name.replace(" ", ""); - this.description = rs.getString("description"); - this.sourceType = SourceType.GetSourceType(this.nameNoSpace.replace("-", "").replace("\"", "").replace(",", "")); - this.token = rs.getInt("token"); - this.strMod = rs.getShort("strMod"); - this.dexMod = rs.getShort("dexMod"); - this.conMod = rs.getShort("conMod"); - this.intMod = rs.getShort("intMod"); - this.spiMod = rs.getShort("spiMod"); - } - public static SkillsBase getFromCache(String name) { if (skillsCache.containsKey(name)) return skillsCache.get(name);