Removed redundant array creations just to match varargs operations

This commit is contained in:
thatsIch
2014-09-29 09:12:06 +02:00
parent 72106c877d
commit f49407de2c
24 changed files with 47 additions and 42 deletions
@@ -148,9 +148,9 @@ public class BlockCharger extends AEBaseBlock implements ICustomCollision
break;
}
return Arrays.asList( new AxisAlignedBB[] { bb } );
return Arrays.asList( bb );
}
return Arrays.asList( new AxisAlignedBB[] { AxisAlignedBB.getBoundingBox( 0.0, 0, 0.0, 1.0, 1.0, 1.0 ) } );
return Arrays.asList( AxisAlignedBB.getBoundingBox( 0.0, 0, 0.0, 1.0, 1.0, 1.0 ) );
}
@Override