Added getter for children of CompoundIngredient (#5082)

This commit is contained in:
mcenderdragon 2018-08-16 22:19:45 +02:00 committed by LexManos
parent f1dfb80931
commit f6b3893a05
1 changed files with 6 additions and 0 deletions

View File

@ -109,4 +109,10 @@ public class CompoundIngredient extends Ingredient
{
return isSimple;
}
@Nonnull
public Collection<Ingredient> getChildren()
{
return Collections.unmodifiableCollection(this.children);
}
}