Skip to content

Commit 6777777

Browse files
committed
Correct arguments for net.minecraft.launchwrapper entrypoint
1 parent e55f156 commit 6777777

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/net/minecraft/launchwrapper/Launch.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ private List<String> getArgs() {
104104
configCopy.gameDir.set(null);
105105
configCopy.assetsDir.set(null);
106106
configCopy.version.set(null);
107-
for (Map.Entry<String, String> entry : configCopy.getArgsAsMap().entrySet()) {
108-
args.add("--" + entry.getKey());
109-
args.add(entry.getValue());
107+
for (String s : configCopy.getArgs()) {
108+
args.add(s);
110109
}
111110
return args;
112111
}

0 commit comments

Comments
 (0)