This commit is contained in:
roastnewt 2014-01-21 11:06:11 -05:00
parent a1c1271d21
commit 5d23a1ca6f

View File

@ -1197,9 +1197,9 @@ public final class SQLDatabaseManager implements DatabaseManager {
MobHealthbarType mobHealthbarType; MobHealthbarType mobHealthbarType;
final int OFFSET_SKILLS = 0; // TODO update these numbers when the query changes (a new skill is added) final int OFFSET_SKILLS = 0; // TODO update these numbers when the query changes (a new skill is added)
final int OFFSET_XP = 12; final int OFFSET_XP = 13;
final int OFFSET_DATS = 24; final int OFFSET_DATS = 26;
final int OFFSET_OTHER = 36; final int OFFSET_OTHER = 38;
skills.put(SkillType.TAMING, result.getInt(OFFSET_SKILLS + 1)); skills.put(SkillType.TAMING, result.getInt(OFFSET_SKILLS + 1));
skills.put(SkillType.MINING, result.getInt(OFFSET_SKILLS + 2)); skills.put(SkillType.MINING, result.getInt(OFFSET_SKILLS + 2));