diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index 100d9230..038347a4 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -366,9 +366,9 @@ else if (isDownloadJava) { Collections.addAll(args, profile.object.getJvmArgs()); Collections.addAll(args, "-Djava.library.path=".concat(params.clientDir.resolve(NATIVES_DIR).toString())); // Add Native Path Collections.addAll(args, "-javaagent:".concat(pathLauncher)); - //Collections.addAll(args, "-classpath", classPathString.toString()); - //if(wrapper) - //Collections.addAll(args, "-Djava.class.path=".concat(classPathString.toString())); // Add Class Path + Collections.addAll(args, "-classpath", pathLauncher); + if(wrapper) + Collections.addAll(args, "-Djava.class.path=".concat(pathLauncher)); // Add Class Path Collections.addAll(args, ClientLauncher.class.getName()); // Print commandline debug message