Merge remote-tracking branch 'origin/feature_fix_log' into integration_butchery
Conflicts: logic/MinecraftProcess.cpp
This commit is contained in:
commit
d18b97ae3d
@ -387,6 +387,7 @@ QStringList MinecraftProcess::javaArguments() const
|
|||||||
args << QString("-Xms%1m").arg(m_instance->settings().get("MinMemAlloc").toInt());
|
args << QString("-Xms%1m").arg(m_instance->settings().get("MinMemAlloc").toInt());
|
||||||
args << QString("-Xmx%1m").arg(m_instance->settings().get("MaxMemAlloc").toInt());
|
args << QString("-Xmx%1m").arg(m_instance->settings().get("MaxMemAlloc").toInt());
|
||||||
args << QString("-XX:PermSize=%1m").arg(m_instance->settings().get("PermGen").toInt());
|
args << QString("-XX:PermSize=%1m").arg(m_instance->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");
|
||||||
|
@ -425,7 +425,19 @@ bool OneSixInstance::providesVersionFile() const
|
|||||||
|
|
||||||
bool OneSixInstance::reload()
|
bool OneSixInstance::reload()
|
||||||
{
|
{
|
||||||
return BaseInstance::reload() && reloadVersion();
|
if(BaseInstance::reload())
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
reloadVersion();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString OneSixInstance::loaderModsDir() const
|
QString OneSixInstance::loaderModsDir() const
|
||||||
|
Loading…
Reference in New Issue
Block a user