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
@@ -86,7 +86,7 @@ public class PacketMEInventoryUpdate extends AppEngPacket
} );
ByteBuf uncompressed = Unpooled.buffer( stream.readableBytes() );
byte tmp[] = new byte[1024];
byte[] tmp = new byte[1024];
while (gzReader.available() != 0)
{
int bytes = gzReader.read( tmp );
@@ -39,7 +39,7 @@ public class PacketPatternSlot extends AppEngPacket
final public IAEItemStack slotItem;
final public IAEItemStack pattern[] = new IAEItemStack[9];
final public IAEItemStack[] pattern = new IAEItemStack[9];
final public boolean shift;