mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
oops fix compression level
This commit is contained in:
parent
4de1948ac8
commit
7cb1f7e4ac
@ -19,7 +19,7 @@ class CompressionCodec(val threshold: Int) : MessageToMessageCodec<ByteBuf, Byte
|
||||
private lateinit var compressor: VelocityCompressor
|
||||
|
||||
override fun handlerAdded(ctx: ChannelHandlerContext) {
|
||||
compressor = Natives.compress.get().create(threshold)
|
||||
compressor = Natives.compress.get().create(6)
|
||||
}
|
||||
|
||||
override fun handlerRemoved(ctx: ChannelHandlerContext) {
|
||||
|
Loading…
Reference in New Issue
Block a user