Groups no longer derp out when a single option is missing.
This commit is contained in:
parent
a58d44e0cf
commit
a2424e61d4
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue