mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Preface Spigot injector messages with a warning
This commit is contained in:
parent
4196402105
commit
4ecdcbb7c3
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ public class GeyserSpigotInjector extends GeyserInjector {
|
||||||
break;
|
break;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (bootstrap.getGeyserConfig().isDebugMode()) {
|
if (bootstrap.getGeyserConfig().isDebugMode()) {
|
||||||
|
bootstrap.getGeyserLogger().debug("The handler " + name + " isn't a ChannelInitializer. THIS ERROR IS SAFE TO IGNORE!");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue