This commit is contained in:
modmuss50 2020-07-25 00:12:39 +01:00
parent b4a0e147e1
commit 65a15910cd

View file

@ -124,7 +124,7 @@ public class AutoCraftingTableBlockEntity extends PowerAcceptorBlockEntity
DefaultedList<Ingredient> ingredients = recipe.getPreviewInputs();
List<Integer> checkedSlots = new ArrayList<>();
for (Ingredient ingredient : ingredients) {
if (ingredient != Ingredient.EMPTY) {
if (ingredient != Ingredient.EMPTY && !(ingredient.test(ItemStack.EMPTY))) {
boolean foundIngredient = false;
for (int i = 0; i < 9; i++) {
if(checkedSlots.contains(i)) {