Replaced C-style array instantiation with Java-Style

This commit is contained in:
thatsIch
2015-01-01 21:15:03 +01:00
parent e38293a291
commit 8179259afa
48 changed files with 69 additions and 69 deletions
@@ -84,7 +84,7 @@ public class ColoredItemDefinition implements AEColoredItemDefinition
@Override
public ItemStack[] allStacks(int stackSize)
{
ItemStack is[] = new ItemStack[this.colors.length];
ItemStack[] is = new ItemStack[this.colors.length];
for (int x = 0; x < is.length; x++)
is[x] = this.colors[x].stack( 1 );
return is;