GH-1856 Make MultiMC fail hard when things are missing
Things like: * jar mods * valid version files
This commit is contained in:
@ -177,11 +177,11 @@ bool MinecraftProfile::revertToBase(int index)
|
||||
|
||||
ProfilePatchPtr MinecraftProfile::versionPatch(const QString &id)
|
||||
{
|
||||
for (auto file : m_patches)
|
||||
for (auto patch : m_patches)
|
||||
{
|
||||
if (file->getID() == id)
|
||||
if (patch->getID() == id)
|
||||
{
|
||||
return file;
|
||||
return patch;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
Reference in New Issue
Block a user