fix compression mixin

This commit is contained in:
creeper123123321 2021-07-07 10:31:45 -03:00
parent a9b06c2b72
commit c35f2ff970

View File

@ -33,7 +33,7 @@ public class MixinClientConnection {
} }
@Inject(method = "setCompressionThreshold", at = @At("RETURN")) @Inject(method = "setCompressionThreshold", at = @At("RETURN"))
private void reorderCompression(int compressionThreshold, CallbackInfo ci) { private void reorderCompression(int compressionThreshold, boolean bl, CallbackInfo ci) {
channel.pipeline().fireUserEventTriggered(new PipelineReorderEvent()); channel.pipeline().fireUserEventTriggered(new PipelineReorderEvent());
} }
} }