|
|
@ -181,6 +181,9 @@ public class ItemBase { |
|
|
|
|
|
|
|
|
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(itemBase.uuid); |
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(itemBase.uuid); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (template == null) |
|
|
|
|
|
|
|
Logger.error("Null template for: " + itemBase.uuid); |
|
|
|
|
|
|
|
else |
|
|
|
_IDsByNames.put(template.item_base_name.toLowerCase().replace(" ", "_"), itemBase.uuid); |
|
|
|
_IDsByNames.put(template.item_base_name.toLowerCase().replace(" ", "_"), itemBase.uuid); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|