[FIX] Фикс NPE при использовании врапперов

This commit is contained in:
Gravit 2019-02-07 08:24:51 +07:00
parent d278641add
commit 52c470b487

View file

@ -375,6 +375,7 @@ public static Process launch(
// Build client process // Build client process
LogHelper.debug("Launching client instance"); LogHelper.debug("Launching client instance");
ProcessBuilder builder = new ProcessBuilder(context.args); ProcessBuilder builder = new ProcessBuilder(context.args);
context.builder = builder;
LauncherGuardManager.guard.addCustomEnv(context); LauncherGuardManager.guard.addCustomEnv(context);
//else //else
//builder.environment().put("CLASSPATH", classPathString.toString()); //builder.environment().put("CLASSPATH", classPathString.toString());