diff --git a/src/main/java/com/badlogicgames/packr/PackrConfig.java b/src/main/java/com/badlogicgames/packr/PackrConfig.java index 02a2a21e..e3f8e312 100644 --- a/src/main/java/com/badlogicgames/packr/PackrConfig.java +++ b/src/main/java/com/badlogicgames/packr/PackrConfig.java @@ -178,11 +178,7 @@ private void readConfigJson(File configJson) throws IOException { List vmArgs = toStringArray(json.get("vmargs").asArray()); this.vmArgs = new ArrayList<>(); for (String vmArg : vmArgs) { - if (vmArg.startsWith("-")) { - this.vmArgs.add(vmArg.substring(1)); - } else { - this.vmArgs.add(vmArg); - } + this.vmArgs.add(vmArg); } } if (json.get("minimizejre") != null) {