From 76a9c07a4802bae69907e1c27f021d10b3c5a345 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Sun, 7 Apr 2019 11:26:35 +0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20Agent=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D0=B5=D1=82.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/client/ClientLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 aec75662..1f9ab3e3 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -366,7 +366,7 @@ public static Process launch( Collections.addAll(context.args, profile.getJvmArgs()); profile.pushOptionalJvmArgs(context.args); Collections.addAll(context.args, "-Djava.library.path=".concat(params.clientDir.resolve(NATIVES_DIR).toString())); // Add Native Path - Collections.addAll(context.args, "-javaagent:".concat(pathLauncher)); + Collections.addAll(context.args, "-javaagent:".concat(pathLauncher).concat("=pr")); LauncherGuardManager.guard.addCustomParams(context); Collections.addAll(context.args, ClientLauncher.class.getName());