From e461ef165e16431a30adbcab387a3d5f6c0419e0 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:20:10 +0200 Subject: [PATCH] Renamed class --- .../proxy/client2proxy/Client2ProxyChannelInitializer.java | 4 ++-- ...itialHandler.java => LegacyPassthroughInitialHandler.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/{PassthroughInitialHandler.java => LegacyPassthroughInitialHandler.java} (96%) diff --git a/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyChannelInitializer.java b/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyChannelInitializer.java index cdf6e28..e22898b 100644 --- a/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyChannelInitializer.java +++ b/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/Client2ProxyChannelInitializer.java @@ -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); diff --git a/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/PassthroughInitialHandler.java b/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/LegacyPassthroughInitialHandler.java similarity index 96% rename from src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/PassthroughInitialHandler.java rename to src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/LegacyPassthroughInitialHandler.java index 26d427e..44d721b 100644 --- a/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/PassthroughInitialHandler.java +++ b/src/main/java/net/raphimc/viaproxy/proxy/client2proxy/passthrough/LegacyPassthroughInitialHandler.java @@ -27,7 +27,7 @@ import net.raphimc.viaproxy.proxy.util.ExceptionUtil; import java.util.function.Supplier; -public class PassthroughInitialHandler extends SimpleChannelInboundHandler { +public class LegacyPassthroughInitialHandler extends SimpleChannelInboundHandler { @Override protected void channelRead0(ChannelHandlerContext ctx, ByteBuf msg) {