mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-02 08:50:26 +01:00
Fixed Eaglercraft pinging for <=1.6.4 servers
This commit is contained in:
parent
93ce462636
commit
9949f2e729
@ -339,6 +339,10 @@ public class EaglercraftHandler extends MessageToMessageCodec<WebSocketFrame, By
|
||||
this.state = State.STATUS;
|
||||
this.version = VersionEnum.r1_8;
|
||||
|
||||
if (ctx.pipeline().get(Client2ProxyChannelInitializer.LEGACY_PASSTHROUGH_HANDLER_NAME) != null) {
|
||||
ctx.pipeline().remove(Client2ProxyChannelInitializer.LEGACY_PASSTHROUGH_HANDLER_NAME);
|
||||
}
|
||||
|
||||
out.add(this.writeHandshake(ctx.alloc().buffer(), ConnectionState.STATUS));
|
||||
|
||||
final ByteBuf statusRequest = ctx.alloc().buffer();
|
||||
|
Loading…
Reference in New Issue
Block a user