mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-25 17:18:04 +01:00
Fixed netty pipeline
This commit is contained in:
parent
4fcba4bca8
commit
679495bb0e
@ -77,12 +77,12 @@ public class PipelineInjector {
|
||||
user.getProtocolInfo().getPipeline().add(PreNettyBaseProtocol.INSTANCE);
|
||||
|
||||
channel.pipeline().addBefore("splitter", PreNettyConstants.VIA_LEGACY_CODEC_NAME, new ViaFabricPlusPreNettyLengthCodec(user));
|
||||
}
|
||||
|
||||
// MC Pipeline doesn't like codecs
|
||||
channel.pipeline().remove("prepender");
|
||||
channel.pipeline().addAfter("splitter", "prepender", new SizePrepender());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method represents the rak net connection for bedrock edition, it's a replacement of the ClientConnection#connect method
|
||||
|
Loading…
Reference in New Issue
Block a user