Fixes the auto crafting table, as it broke a bit with the forge update.
This commit is contained in:
parent
f2c753cf1d
commit
ac7a4246f6
3 changed files with 8 additions and 5 deletions
|
@ -331,7 +331,7 @@ public class TileAutoCraftingTable extends TilePowerAcceptor implements IContain
|
|||
return -1;
|
||||
}
|
||||
List<Integer> possibleSlots = new ArrayList<>();
|
||||
for (int i = 0; i < 9; i++) {
|
||||
for (int i = 0; i < recipe.getIngredients().size(); i++) {
|
||||
ItemStack stackInSlot = inventory.getStackInSlot(i);
|
||||
Ingredient ingredient = recipe.getIngredients().get(i);
|
||||
if (ingredient != Ingredient.EMPTY && ingredient.apply(stack)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue