Renamed class

This commit is contained in:
RaphiMC 2023-10-02 19:20:10 +02:00
parent 7b663e28f3
commit e461ef165e
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ import net.raphimc.viaproxy.cli.options.Options;
import net.raphimc.viaproxy.plugins.PluginManager;
import net.raphimc.viaproxy.plugins.events.Client2ProxyChannelInitializeEvent;
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;
@ -46,7 +46,7 @@ public class Client2ProxyChannelInitializer extends MinecraftChannelInitializer
}
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);

View File

@ -27,7 +27,7 @@ import net.raphimc.viaproxy.proxy.util.ExceptionUtil;
import java.util.function.Supplier;
public class PassthroughInitialHandler extends SimpleChannelInboundHandler<ByteBuf> {
public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler<ByteBuf> {
@Override
protected void channelRead0(ChannelHandlerContext ctx, ByteBuf msg) {