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
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

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