|
|
@ -179,6 +179,7 @@ public class dbItemHandler extends dbHandlerBase { |
|
|
|
int templateID = rs.getInt("id"); |
|
|
|
int templateID = rs.getInt("id"); |
|
|
|
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template")); |
|
|
|
JSONObject jsonObject = (JSONObject) jsonParser.parse(rs.getString("template")); |
|
|
|
ItemTemplate itemTemplate = new ItemTemplate(jsonObject); |
|
|
|
ItemTemplate itemTemplate = new ItemTemplate(jsonObject); |
|
|
|
|
|
|
|
itemTemplate.template_id = templateID; |
|
|
|
ItemTemplate.itemTemplates.put(templateID, itemTemplate); |
|
|
|
ItemTemplate.itemTemplates.put(templateID, itemTemplate); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|