diff --git a/src/main/java/appeng/integration/modules/emi/AbstractRecipeHandler.java b/src/main/java/appeng/integration/modules/emi/AbstractRecipeHandler.java index 62815932913..bc6306aec07 100644 --- a/src/main/java/appeng/integration/modules/emi/AbstractRecipeHandler.java +++ b/src/main/java/appeng/integration/modules/emi/AbstractRecipeHandler.java @@ -94,7 +94,11 @@ public EmiPlayerInventory getInventory(AbstractContainerScreen screen) { if (entry.getStoredAmount() <= 0) { continue; // Skip items that are only craftable } - list.add(EmiStackHelper.toEmiStack(new GenericStack(entry.getWhat(), entry.getStoredAmount()))); + var emiStack = EmiStackHelper + .toEmiStack(new GenericStack(entry.getWhat(), entry.getStoredAmount())); + if (emiStack != null) { + list.add(emiStack); + } } } }