mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-11-14 19:34:58 -05:00
Remove TcpPacketCompression.MAX_COMPRESSED_SIZE as it's been replaced
This commit is contained in:
parent
85ca63b673
commit
28bdb2c030
1 changed files with 0 additions and 3 deletions
|
@ -7,14 +7,11 @@ import io.netty.channel.ChannelHandlerContext;
|
|||
import io.netty.handler.codec.ByteToMessageCodec;
|
||||
import io.netty.handler.codec.DecoderException;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.List;
|
||||
import java.util.zip.DataFormatException;
|
||||
import java.util.zip.Deflater;
|
||||
import java.util.zip.Inflater;
|
||||
|
||||
public class TcpPacketCompression extends ByteToMessageCodec<ByteBuf> {
|
||||
private static final int MAX_COMPRESSED_SIZE = 2097152;
|
||||
private static final int MAX_UNCOMPRESSED_SIZE = 8388608;
|
||||
|
||||
private final Session session;
|
||||
|
|
Loading…
Reference in a new issue