Added getter for children of CompoundIngredient (#5082)

This commit is contained in:
mcenderdragon authored and LexManos committed 2018-08-16 13:19:45 -07:00
1 parent f1dfb80931
commit f6b3893a05
1 file changed
+6
@@ -109,4 +109,10 @@ public class CompoundIngredient extends Ingredient
{
return isSimple;
}
@Nonnull
public Collection<Ingredient> getChildren()
{
return Collections.unmodifiableCollection(this.children);
}
}