Replaced C-style array instantiation with Java-Style
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user