Use getItem not get()

This commit is contained in:
Christian 2013-04-15 17:10:18 -04:00
parent 9fd053a0f4
commit 684efd12a1
1 changed files with 1 additions and 1 deletions

View File

@ -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;