mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-01-30 14:59:39 +08:00
Move AutoReadHolderHandler after MinecraftDecoder.
This commit is contained in:
parent
3b8f3ae960
commit
e57c6d00c0
@ -36,9 +36,9 @@ public class BackendChannelInitializer extends ChannelInitializer<Channel> {
|
||||
TimeUnit.MILLISECONDS))
|
||||
.addLast(FRAME_DECODER, new MinecraftVarintFrameDecoder())
|
||||
.addLast(FRAME_ENCODER, MinecraftVarintLengthEncoder.INSTANCE)
|
||||
.addLast(FLOW_HANDLER, new AutoReadHolderHandler())
|
||||
.addLast(MINECRAFT_DECODER,
|
||||
new MinecraftDecoder(ProtocolUtils.Direction.CLIENTBOUND))
|
||||
.addLast(FLOW_HANDLER, new AutoReadHolderHandler())
|
||||
.addLast(MINECRAFT_ENCODER,
|
||||
new MinecraftEncoder(ProtocolUtils.Direction.SERVERBOUND));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user