mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FEATURE] Ещё защита от банального ClassNotFound...
This commit is contained in:
parent
66e8f29c19
commit
ab98a09f85
1 changed files with 4 additions and 0 deletions
|
@ -335,6 +335,10 @@ public static void main(String... args) throws Throwable {
|
||||||
LogHelper.addOutput(IOHelper.WORKING_DIR.resolve("LaunchServer.log"));
|
LogHelper.addOutput(IOHelper.WORKING_DIR.resolve("LaunchServer.log"));
|
||||||
LogHelper.printVersion("LaunchServer");
|
LogHelper.printVersion("LaunchServer");
|
||||||
LogHelper.printLicense("LaunchServer");
|
LogHelper.printLicense("LaunchServer");
|
||||||
|
if (!StarterAgent.isAgentStarted()) {
|
||||||
|
LogHelper.error("StarterAgent is not started!");
|
||||||
|
LogHelper.error("Your should add to JVM options this option: `-javaagent:LaunchServer.jar`");
|
||||||
|
}
|
||||||
|
|
||||||
// Start LaunchServer
|
// Start LaunchServer
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
|
Loading…
Reference in a new issue