diff --git a/src/api/java/blusunrize/immersiveengineering/api/crafting/TagOutput.java b/src/api/java/blusunrize/immersiveengineering/api/crafting/TagOutput.java index 036ee3cc06..66e817fa5b 100644 --- a/src/api/java/blusunrize/immersiveengineering/api/crafting/TagOutput.java +++ b/src/api/java/blusunrize/immersiveengineering/api/crafting/TagOutput.java @@ -68,7 +68,12 @@ public ItemStack get() { if(cachedStack==null) cachedStack = rawData.map( - iws -> IEApi.getPreferredStackbyMod(iws.getMatchingStacks()), + iws -> { + if(iws.basePredicate.isEmpty()) + return ItemStack.EMPTY; + else + return IEApi.getPreferredStackbyMod(iws.getMatchingStacks()); + }, Function.identity() ); return cachedStack;