mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Initialize command manager and ping passthrough before Geyser#start
This commit is contained in:
parent
6c8434b352
commit
39356071c4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue