mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
GH-1015 fix crash when version is incomplete and adding jar mods
This commit is contained in:
parent
b7f8241968
commit
84757f485b
@ -389,7 +389,14 @@ bool OneSixProfileStrategy::installJarMods(QStringList filepaths)
|
||||
profile->appendPatch(f);
|
||||
}
|
||||
profile->saveCurrentOrder();
|
||||
profile->reapply();
|
||||
try
|
||||
{
|
||||
profile->reapply();
|
||||
}
|
||||
catch (VersionIncomplete &error)
|
||||
{
|
||||
qDebug() << "Version was incomplete:" << error.cause();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user