More info on template bootstrap
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user