Skip to content

Commit

Permalink
Prevent shaped recipes with 1 ingredient from being used in autoShaped
Browse files Browse the repository at this point in the history
  • Loading branch information
Attack8 committed May 15, 2024
1 parent d66170c commit 224388b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/com/simibubi/create/AllRecipeTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ public static boolean shouldIgnoreInAutomation(Recipe<?> recipe) {
RecipeSerializer<?> serializer = recipe.getSerializer();
if (serializer != null && AllTags.AllRecipeSerializerTags.AUTOMATION_IGNORE.matches(serializer))
return true;
return recipe.getId()
.getPath()
.endsWith("_manual_only");
return recipe.getId().getPath().endsWith("_manual_only") || recipe.getIngredients().size() == 1;
}

private static class Registers {
Expand Down

0 comments on commit 224388b

Please sign in to comment.