diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 3bcaa154..a4d64d67 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -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();