mirror of
https://github.com/GTNewHorizons/ironchest.git
synced 2026-11-26 06:52:55 +00:00
Use getItem not get()
This commit is contained in:
1 parent
9fd053a0f4
commit
684efd12a1
1 file changed
+1
-1
@@ -60,7 +60,7 @@ public enum ChestChangerType {
|
||||
|
||||
public ItemChestChanger buildItem(Configuration cfg, int id)
|
||||
{
|
||||
int itemId = cfg.get(Configuration.CATEGORY_ITEM, itemName, id).getInt(id);
|
||||
int itemId = cfg.getItem(itemName, id).getInt(id);
|
||||
item = new ItemChestChanger(itemId, this);
|
||||
GameRegistry.registerItem(item, itemName);
|
||||
return item;
|
||||
|
||||
Reference in new issue
Block a user