|
|
@ -181,7 +181,10 @@ public class ItemBase { |
|
|
|
|
|
|
|
|
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(itemBase.uuid); |
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(itemBase.uuid); |
|
|
|
|
|
|
|
|
|
|
|
_IDsByNames.put(template.item_base_name.toLowerCase().replace(" ", "_"), itemBase.uuid); |
|
|
|
if (template == null) |
|
|
|
|
|
|
|
Logger.error("Null template for: " + itemBase.uuid); |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
_IDsByNames.put(template.item_base_name.toLowerCase().replace(" ", "_"), itemBase.uuid); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static HashMap<Integer, Integer> getItemHashIDMap() { |
|
|
|
public static HashMap<Integer, Integer> getItemHashIDMap() { |
|
|
|