Skip to content

Commit

Permalink
Fix Edge Case Recycling Recipe Generation
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Aug 9, 2024
1 parent 6ea7cbd commit 9036624
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ public static boolean changeStackRecycling(ItemStack output, RecipeMap<?> map, P
}
}

return changeStackRecycling(Collections.singletonList(output), foundRecipes.get(0).getInputs());
// Use RECIPE's OUTPUT, so we get the correct count
return changeStackRecycling(foundRecipes.get(0).getOutputs(), foundRecipes.get(0).getInputs());
}

private static IShapedRecipe validate(ResourceLocation name, ItemStack output, boolean validateOutput,
Expand Down

0 comments on commit 9036624

Please sign in to comment.