From d34de4b18f4579da600e27a02c52244d2557592e Mon Sep 17 00:00:00 2001 From: Tim203 Date: Thu, 31 Oct 2024 16:30:52 +0100 Subject: [PATCH] Make the comment more compact --- .../geysermc/floodgate/inject/bungee/BungeeInjector.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bungee/src/main/java/org/geysermc/floodgate/inject/bungee/BungeeInjector.java b/bungee/src/main/java/org/geysermc/floodgate/inject/bungee/BungeeInjector.java index b548008c..f58c8001 100644 --- a/bungee/src/main/java/org/geysermc/floodgate/inject/bungee/BungeeInjector.java +++ b/bungee/src/main/java/org/geysermc/floodgate/inject/bungee/BungeeInjector.java @@ -91,14 +91,8 @@ public void inject() { ChannelInitializer wrapper = new ChannelInitializer() { @Override protected void initChannel(Channel channel) { - /* - Check if the channel is open, see #547 - Moved bottom ReflectionUtils.invoke() - Here is always true and it do not work - */ ReflectionUtils.invoke(original, initChannelMethod, channel); - - // Fix of #547 (after testing) + // Check if the channel is open, see #547 if (!channel.isOpen()) { return; }