diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index 2367563c..dafbf1de 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -176,10 +176,14 @@ public class dbItemHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); while (rs.next()) { + int templateID = rs.getInt("id"); + + if (templateID == 175180) + templateID = 175181; JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template")); ItemTemplate itemTemplate = new ItemTemplate(jsonObject); - ItemTemplate.itemTemplates.put(rs.getInt("id"), itemTemplate); + ItemTemplate.itemTemplates.put(templateID, itemTemplate); } } catch (Exception e) {