From 4ecdcbb7c3fea0f0b1f3fd960bd69dd6aad9ffa0 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Fri, 10 Sep 2021 21:18:24 -0400 Subject: [PATCH] Preface Spigot injector messages with a warning --- .../java/org/geysermc/platform/spigot/GeyserSpigotInjector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/spigot/src/main/java/org/geysermc/platform/spigot/GeyserSpigotInjector.java b/bootstrap/spigot/src/main/java/org/geysermc/platform/spigot/GeyserSpigotInjector.java index 5b6e259f5..fcf4b2eaf 100644 --- a/bootstrap/spigot/src/main/java/org/geysermc/platform/spigot/GeyserSpigotInjector.java +++ b/bootstrap/spigot/src/main/java/org/geysermc/platform/spigot/GeyserSpigotInjector.java @@ -147,6 +147,7 @@ public class GeyserSpigotInjector extends GeyserInjector { break; } catch (Exception e) { if (bootstrap.getGeyserConfig().isDebugMode()) { + bootstrap.getGeyserLogger().debug("The handler " + name + " isn't a ChannelInitializer. THIS ERROR IS SAFE TO IGNORE!"); e.printStackTrace(); } }