feat: placeholders in user customized game arguments. Closes #920

This commit is contained in:
huanghongxun 2021-07-10 23:09:11 +08:00
parent 3e751ba5c6
commit 378fd04463

View File

@ -215,7 +215,7 @@ public class DefaultLauncher extends Launcher {
}
}
res.addAllWithoutParsing(options.getGameArguments());
res.addAllWithoutParsing(Arguments.parseStringArguments(options.getGameArguments(), configuration));
res.removeIf(it -> getForbiddens().containsKey(it) && getForbiddens().get(it).get());
return res;