1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-27 18:59:17 +00:00

Preface Spigot injector messages with a warning

This commit is contained in:
Camotoy
2021-09-10 21:18:24 -04:00
parent 4196402105
commit 4ecdcbb7c3

View File

@@ -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();
}
}