From a2424e61d4fa7645996867543021baba2d72516e Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 12 Mar 2014 23:11:56 -0500 Subject: [PATCH] Groups no longer derp out when a single option is missing. --- recipes/GroupIngredient.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/recipes/GroupIngredient.java b/recipes/GroupIngredient.java index 20f84d822..569688b8a 100644 --- a/recipes/GroupIngredient.java +++ b/recipes/GroupIngredient.java @@ -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 {