diff --git a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/StackListItemOredicted.java b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/StackListItemOredicted.java index ea7b72872..552427b0e 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/StackListItemOredicted.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/StackListItemOredicted.java @@ -27,8 +27,10 @@ public class StackListItemOredicted implements IStackList { private void initOreDict() { for (ItemStack stack : underlyingList.getStacks()) { - for (int id : OreDictionary.getOreIDs(stack)) { - stacks.put(id, stack); + if (!stack.isEmpty()) { + for (int id : OreDictionary.getOreIDs(stack)) { + stacks.put(id, stack); + } } } }