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

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