Fix compound ingredient in shapeless recipes (#7537) Fixes #7530

This commit is contained in:
sciwhiz12 authored and GitHub committed 2020-12-28 13:03:48 -08:00
1 parent a1119cd77a
commit 74ca88b7be
1 file changed
+6
@@ -136,6 +136,12 @@ public class CompoundIngredient extends Ingredient
}
}
@Override
public boolean hasNoMatchingItems()
{
return getMatchingStacks().length == 0;
}
public static class Serializer implements IIngredientSerializer<CompoundIngredient>
{
public static final Serializer INSTANCE = new Serializer();