mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-22 08:19:20 +00:00
Initialize command manager and ping passthrough before Geyser#start
This commit is contained in:
@@ -78,12 +78,13 @@ public class GeyserViaProxyBootstrap implements GeyserBootstrap {
|
|||||||
GeyserConfiguration.checkGeyserConfiguration(this.config, this.logger);
|
GeyserConfiguration.checkGeyserConfiguration(this.config, this.logger);
|
||||||
|
|
||||||
this.geyser = GeyserImpl.load(PlatformType.VIAPROXY, this);
|
this.geyser = GeyserImpl.load(PlatformType.VIAPROXY, this);
|
||||||
GeyserImpl.start();
|
|
||||||
|
|
||||||
this.commandManager = new GeyserCommandManager(this.geyser);
|
this.commandManager = new GeyserCommandManager(this.geyser);
|
||||||
this.commandManager.init();
|
this.commandManager.init();
|
||||||
|
|
||||||
this.pingPassthrough = GeyserLegacyPingPassthrough.init(this.geyser);
|
this.pingPassthrough = GeyserLegacyPingPassthrough.init(this.geyser);
|
||||||
|
|
||||||
|
GeyserImpl.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user