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

Initialize command manager and ping passthrough before Geyser#start

This commit is contained in:
RaphiMC
2023-12-08 11:13:45 +01:00
parent 6c8434b352
commit 39356071c4

View File

@@ -78,12 +78,13 @@ public class GeyserViaProxyBootstrap implements GeyserBootstrap {
GeyserConfiguration.checkGeyserConfiguration(this.config, this.logger);
this.geyser = GeyserImpl.load(PlatformType.VIAPROXY, this);
GeyserImpl.start();
this.commandManager = new GeyserCommandManager(this.geyser);
this.commandManager.init();
this.pingPassthrough = GeyserLegacyPingPassthrough.init(this.geyser);
GeyserImpl.start();
}
@Override