From 591bdea6f4eef128a4bc4396a3c212310759823f Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 20 Nov 2018 21:50:41 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B1=D0=B0=D0=B3?= =?UTF-8?q?=D0=B0=20=D1=81=20mcheil=20=D0=B8=20=D1=83=D1=8F=D0=B7=D0=B2?= =?UTF-8?q?=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/client/ClientLauncher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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