More info on template bootstrap
This commit is contained in:
1 parent
4d18e71aa1
commit
df037a51f0
2 files changed
+2
-5
No files matched your search
@@ -195,10 +195,7 @@ public class dbItemHandler extends dbHandlerBase {
|
||||
itemTemplate.template_id = templateID;
|
||||
ItemTemplate.templates.put(templateID, itemTemplate);
|
||||
|
||||
if (templateTCountMap.entrySet().contains(itemTemplate.item_type))
|
||||
templateTCountMap.put(itemTemplate.item_type, templateTCountMap.get(itemTemplate.item_type) + 1);
|
||||
else
|
||||
templateTCountMap.put(itemTemplate.item_type, 1);
|
||||
templateTCountMap.merge(itemTemplate.item_type, 1, Integer::sum);
|
||||
}
|
||||
|
||||
Logger.info(templateTCountMap.toString());
|
||||
|
||||
@@ -181,7 +181,7 @@ public class ItemTemplate {
|
||||
|
||||
// Banes are defined by their sparse data field
|
||||
|
||||
if (obj_sparse_data.entrySet().contains("ACTIONRESPONSE"))
|
||||
if (obj_sparse_data.get("ACTIONRESPONSE") != null)
|
||||
if (obj_sparse_data.get("ACTIONRESPONSE").equals("4250517122"))
|
||||
item_bane_rank = ((Long) jsonObject.get("item_bane_rank")).intValue();
|
||||
|
||||
|
||||
Reference in new issue
Block a user