mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-24 00:18:14 -05:00
Improved legacy client passthrough
Fixes issues with B2R plugin
This commit is contained in:
parent
0b44bbfad6
commit
ebd051e2e4
1 changed files with 3 additions and 2 deletions
|
@ -46,9 +46,10 @@ public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler
|
|||
final PassthroughClient2ProxyChannelInitializer channelInitializer = new PassthroughClient2ProxyChannelInitializer(handlerSupplier);
|
||||
ctx.channel().pipeline().addLast(channelInitializer);
|
||||
ctx.channel().pipeline().fireChannelActive();
|
||||
ctx.pipeline().fireChannelRead(msg.retain());
|
||||
} else {
|
||||
ctx.fireChannelRead(msg.retain());
|
||||
}
|
||||
|
||||
ctx.pipeline().fireChannelRead(msg.retain());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue