Use getItem not get()

This commit is contained in:
Christian committed 2013-04-15 17:10:18 -04:00
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;