Fix jei log spam

This commit is contained in:
modmuss50 2016-02-20 01:03:37 +00:00
parent eaf82b68e8
commit 575150edf3

View file

@ -32,7 +32,7 @@ public abstract class BaseRecipeWrapper<T extends BaseRecipe> extends BlankRecip
}
private static List<ItemStack> expandOreDict(ItemStack itemStack) {
if(itemStack == null){
if(itemStack == null || itemStack.getItem() == null){
return new ArrayList<ItemStack>();
}
int[] oreIds = OreDictionary.getOreIDs(itemStack);