Added getter for children of CompoundIngredient (#5082)
This commit is contained in:
parent
f1dfb80931
commit
f6b3893a05
1 changed files with 6 additions and 0 deletions
|
@ -109,4 +109,10 @@ public class CompoundIngredient extends Ingredient
|
||||||
{
|
{
|
||||||
return isSimple;
|
return isSimple;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nonnull
|
||||||
|
public Collection<Ingredient> getChildren()
|
||||||
|
{
|
||||||
|
return Collections.unmodifiableCollection(this.children);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue