Fix logging when system language is not en_US.
This commit is contained in:
parent
737169d1d3
commit
91faaa5b59
@ -350,6 +350,7 @@ void MinecraftProcess::arm()
|
|||||||
args << QString("-Xms%1m").arg(settings.get("MinMemAlloc").toInt());
|
args << QString("-Xms%1m").arg(settings.get("MinMemAlloc").toInt());
|
||||||
args << QString("-Xmx%1m").arg(settings.get("MaxMemAlloc").toInt());
|
args << QString("-Xmx%1m").arg(settings.get("MaxMemAlloc").toInt());
|
||||||
args << QString("-XX:PermSize=%1m").arg(settings.get("PermGen").toInt());
|
args << QString("-XX:PermSize=%1m").arg(settings.get("PermGen").toInt());
|
||||||
|
args << "-Duser.language=en";
|
||||||
if(!m_nativeFolder.isEmpty())
|
if(!m_nativeFolder.isEmpty())
|
||||||
args << QString("-Djava.library.path=%1").arg(m_nativeFolder);
|
args << QString("-Djava.library.path=%1").arg(m_nativeFolder);
|
||||||
args << "-jar" << PathCombine(MMC->bin(), "jars", "NewLaunch.jar");
|
args << "-jar" << PathCombine(MMC->bin(), "jars", "NewLaunch.jar");
|
||||||
|
Loading…
Reference in New Issue
Block a user