mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-19 15:57:37 +01:00
fix mixin in 1.18
This commit is contained in:
parent
0a21312bc2
commit
a93d08e549
@ -32,8 +32,8 @@ public class MixinClientConnection {
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "method_10760", at = @At("RETURN"))
|
||||
private void reorderCompression(int compressionThreshold, CallbackInfo ci) {
|
||||
@Inject(method = "setCompressionThreshold", at = @At("RETURN"))
|
||||
private void reorderCompression(int compressionThreshold, boolean rejectBad, CallbackInfo ci) {
|
||||
channel.pipeline().fireUserEventTriggered(new PipelineReorderEvent());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user