Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -56,19 +56,27 @@ public class IngredientSet implements IIngredient
public ItemStack[] getItemStackSet() throws RegistrationError, MissingIngredientError
{
if( this.baked != null )
{
return this.baked;
}
if( this.isInside )
{
return new ItemStack[0];
}
List<ItemStack> out = new LinkedList<ItemStack>();
out.addAll( this.items );
if( out.size() == 0 )
{
throw new MissingIngredientError( this.toString() + " - group could not be resolved to any items." );
}
for( ItemStack is : out )
{
is.stackSize = this.qty;
}
return out.toArray( new ItemStack[out.size()] );
}