mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-23 07:58:27 -05:00
Renamed class
This commit is contained in:
parent
7b663e28f3
commit
e461ef165e
2 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ import net.raphimc.viaproxy.cli.options.Options;
|
||||||
import net.raphimc.viaproxy.plugins.PluginManager;
|
import net.raphimc.viaproxy.plugins.PluginManager;
|
||||||
import net.raphimc.viaproxy.plugins.events.Client2ProxyChannelInitializeEvent;
|
import net.raphimc.viaproxy.plugins.events.Client2ProxyChannelInitializeEvent;
|
||||||
import net.raphimc.viaproxy.plugins.events.types.ITyped;
|
import net.raphimc.viaproxy.plugins.events.types.ITyped;
|
||||||
import net.raphimc.viaproxy.proxy.client2proxy.passthrough.PassthroughInitialHandler;
|
import net.raphimc.viaproxy.proxy.client2proxy.passthrough.LegacyPassthroughInitialHandler;
|
||||||
|
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ public class Client2ProxyChannelInitializer extends MinecraftChannelInitializer
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Options.LEGACY_CLIENT_PASSTHROUGH) {
|
if (Options.LEGACY_CLIENT_PASSTHROUGH) {
|
||||||
channel.pipeline().addLast(LEGACY_PASSTHROUGH_INITIAL_HANDLER_NAME, new PassthroughInitialHandler());
|
channel.pipeline().addLast(LEGACY_PASSTHROUGH_INITIAL_HANDLER_NAME, new LegacyPassthroughInitialHandler());
|
||||||
}
|
}
|
||||||
|
|
||||||
super.initChannel(channel);
|
super.initChannel(channel);
|
||||||
|
|
|
@ -27,7 +27,7 @@ import net.raphimc.viaproxy.proxy.util.ExceptionUtil;
|
||||||
|
|
||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
public class PassthroughInitialHandler extends SimpleChannelInboundHandler<ByteBuf> {
|
public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler<ByteBuf> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void channelRead0(ChannelHandlerContext ctx, ByteBuf msg) {
|
protected void channelRead0(ChannelHandlerContext ctx, ByteBuf msg) {
|
Loading…
Reference in a new issue