mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-06-02 18:59:19 +02:00
Prevent shaped recipes with 1 ingredient from being used in autoShaped
fixes Creators-of-Create#6368 fixes TheCBProject/EnderStorage#222 fixes mezz/JustEnoughItems#3276
This commit is contained in:
parent
d66170c8fe
commit
224388b194
|
@ -138,9 +138,7 @@ public enum AllRecipeTypes implements IRecipeTypeInfo {
|
|||
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 {
|
||||
|
|
Loading…
Reference in a new issue