mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Allow -Duser.language to be overriden
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
c0c9185a09
commit
6bbbfa06d1
1 changed files with 2 additions and 2 deletions
|
|
@ -568,6 +568,8 @@ QStringList MinecraftInstance::javaArguments()
|
|||
{
|
||||
QStringList args;
|
||||
|
||||
args << "-Duser.language=en";
|
||||
|
||||
// custom args go first. we want to override them if we have our own here.
|
||||
args.append(extraArguments());
|
||||
|
||||
|
|
@ -621,8 +623,6 @@ QStringList MinecraftInstance::javaArguments()
|
|||
}
|
||||
}
|
||||
|
||||
args << "-Duser.language=en";
|
||||
|
||||
if (javaVersion.isModular() && shouldApplyOnlineFixes())
|
||||
// allow reflective access to java.net - required by the skin fix
|
||||
args << "--add-opens" << "java.base/java.net=ALL-UNNAMED";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue