Fix jei log spam
This commit is contained in:
parent
eaf82b68e8
commit
575150edf3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue