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