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());