added another nullcheck

This commit is contained in:
Runakai1 committed 2022-08-14 11:16:48 +02:00
1 parent 3f15f9524b
commit 05b8538154
1 file changed
+1 -1
@@ -46,7 +46,7 @@ public final class FluidRecipe {
}
}
for (OrderStack<?> orderStack : out) {
if (orderStack.getStack() instanceof ItemStack) {
if (orderStack != null && orderStack.getStack() instanceof ItemStack) {
reordered.add(new OrderStack(orderStack.getStack(), numFluids++));
}
}