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
1 changed files with 2 additions and 1 deletions

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