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
+9
View File
@@ -65,8 +65,17 @@ public class GroupIngredient implements IIngredient
try try
{ {
for (IIngredient i : ingredients) for (IIngredient i : ingredients)
{
try
{
out.addAll( Arrays.asList( i.getItemStackSet() ) ); out.addAll( Arrays.asList( i.getItemStackSet() ) );
} }
catch (MissingIngredientError mir)
{
// oh well this is a group!
}
}
}
finally finally
{ {
isInside = false; isInside = false;