mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-01-02 18:28:33 +01:00
Improved legacy client passthrough
Fixes issues with B2R plugin
This commit is contained in:
parent
0b44bbfad6
commit
ebd051e2e4
@ -46,9 +46,10 @@ public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler
|
|||||||
final PassthroughClient2ProxyChannelInitializer channelInitializer = new PassthroughClient2ProxyChannelInitializer(handlerSupplier);
|
final PassthroughClient2ProxyChannelInitializer channelInitializer = new PassthroughClient2ProxyChannelInitializer(handlerSupplier);
|
||||||
ctx.channel().pipeline().addLast(channelInitializer);
|
ctx.channel().pipeline().addLast(channelInitializer);
|
||||||
ctx.channel().pipeline().fireChannelActive();
|
ctx.channel().pipeline().fireChannelActive();
|
||||||
|
ctx.pipeline().fireChannelRead(msg.retain());
|
||||||
|
} else {
|
||||||
|
ctx.fireChannelRead(msg.retain());
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.pipeline().fireChannelRead(msg.retain());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user