[FEATURE] Ещё защита от банального ClassNotFound...

This commit is contained in:
Zaxar163 2019-05-03 11:09:33 +03:00
parent 66e8f29c19
commit ab98a09f85

View file

@ -335,6 +335,10 @@ public static void main(String... args) throws Throwable {
LogHelper.addOutput(IOHelper.WORKING_DIR.resolve("LaunchServer.log"));
LogHelper.printVersion("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
long startTime = System.currentTimeMillis();