Fix typo in previous commit
This commit is contained in:
parent
c57bf61114
commit
a25c2b325b
@ -31,7 +31,7 @@ public class PacketDecompressor extends MessageToMessageDecoder<ByteBuf>
|
|||||||
int size = DefinedPacket.readVarInt( in );
|
int size = DefinedPacket.readVarInt( in );
|
||||||
if ( size == 0 )
|
if ( size == 0 )
|
||||||
{
|
{
|
||||||
out.add( in );
|
out.add( in.retain() );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
ByteBuf decompressed = ctx.alloc().directBuffer();
|
ByteBuf decompressed = ctx.alloc().directBuffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user