mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-03-20 16:18:24 +03:00
[FIX] Доступ к NettyServerSocketHandler на postInit...
This commit is contained in:
parent
f89fabaf11
commit
6af7283b60
1 changed files with 4 additions and 5 deletions
|
@ -405,6 +405,10 @@ public LaunchServer(LaunchServerDirectories directories, LaunchServerEnv env, La
|
||||||
Files.createDirectory(profilesDir);
|
Files.createDirectory(profilesDir);
|
||||||
syncProfilesDir();
|
syncProfilesDir();
|
||||||
|
|
||||||
|
if (config.netty != null)
|
||||||
|
nettyServerSocketHandler = new NettyServerSocketHandler(this);
|
||||||
|
else
|
||||||
|
nettyServerSocketHandler = null;
|
||||||
// post init modules
|
// post init modules
|
||||||
modulesManager.invokeEvent(new LaunchServerPostInitPhase(this));
|
modulesManager.invokeEvent(new LaunchServerPostInitPhase(this));
|
||||||
if (config.components != null) {
|
if (config.components != null) {
|
||||||
|
@ -415,11 +419,6 @@ public LaunchServer(LaunchServerDirectories directories, LaunchServerEnv env, La
|
||||||
});
|
});
|
||||||
LogHelper.debug("PostInit components successful");
|
LogHelper.debug("PostInit components successful");
|
||||||
}
|
}
|
||||||
// start updater
|
|
||||||
if (config.netty != null)
|
|
||||||
nettyServerSocketHandler = new NettyServerSocketHandler(this);
|
|
||||||
else
|
|
||||||
nettyServerSocketHandler = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private LauncherBinary binary() {
|
private LauncherBinary binary() {
|
||||||
|
|
Loading…
Reference in a new issue