mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-17 07:47:57 -04:00
feat: placeholders in user customized game arguments. Closes #920
This commit is contained in:
parent
3e751ba5c6
commit
378fd04463
@ -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());
|
res.removeIf(it -> getForbiddens().containsKey(it) && getForbiddens().get(it).get());
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user