Groups no longer derp out when a single option is missing.

This commit is contained in:
AlgorithmX2 2014-03-12 23:11:56 -05:00
parent a58d44e0cf
commit a2424e61d4

View file

@ -65,7 +65,16 @@ public class GroupIngredient implements IIngredient
try
{
for (IIngredient i : ingredients)
out.addAll( Arrays.asList( i.getItemStackSet() ) );
{
try
{
out.addAll( Arrays.asList( i.getItemStackSet() ) );
}
catch (MissingIngredientError mir)
{
// oh well this is a group!
}
}
}
finally
{