mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Fixed legacy ping passthrough not working when eaglercraft support is enabled
This commit is contained in:
parent
8ded0a560f
commit
b873551a79
1 changed files with 3 additions and 3 deletions
|
@ -55,12 +55,12 @@ public class Client2ProxyChannelInitializer extends MinecraftChannelInitializer
|
|||
return;
|
||||
}
|
||||
|
||||
if (Options.ALLOW_EAGLERCRAFT_CLIENTS) {
|
||||
channel.pipeline().addLast(EAGLERCRAFT_INITIAL_HANDLER_NAME, new EaglercraftInitialHandler());
|
||||
}
|
||||
if (Options.LEGACY_CLIENT_PASSTHROUGH) {
|
||||
channel.pipeline().addLast(LEGACY_PASSTHROUGH_HANDLER_NAME, new LegacyClientPassthroughHandler());
|
||||
}
|
||||
if (Options.ALLOW_EAGLERCRAFT_CLIENTS) {
|
||||
channel.pipeline().addLast(EAGLERCRAFT_INITIAL_HANDLER_NAME, new EaglercraftInitialHandler());
|
||||
}
|
||||
|
||||
super.initChannel(channel);
|
||||
channel.attr(MCPipeline.PACKET_REGISTRY_ATTRIBUTE_KEY).set(PacketRegistryUtil.getHandshakeRegistry(false));
|
||||
|
|
Loading…
Reference in a new issue