mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-24 17:08:29 +01:00
Fixed netty pipeline
This commit is contained in:
parent
4fcba4bca8
commit
679495bb0e
@ -77,11 +77,11 @@ 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());
|
||||
}
|
||||
|
||||
// MC Pipeline doesn't like codecs
|
||||
channel.pipeline().remove("prepender");
|
||||
channel.pipeline().addAfter("splitter", "prepender", new SizePrepender());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user