NOISSUE make sure MultiMC and Flame import is mutually exclusive
This commit is contained in:
parent
678c7ab271
commit
eac892965e
@ -97,13 +97,14 @@ void InstanceImportTask::processZipPack()
|
|||||||
root = mmcFound;
|
root = mmcFound;
|
||||||
m_modpackType = ModpackType::MultiMC;
|
m_modpackType = ModpackType::MultiMC;
|
||||||
}
|
}
|
||||||
if(!flameFound.isNull())
|
else if(!flameFound.isNull())
|
||||||
{
|
{
|
||||||
// process as Flame pack
|
// process as Flame pack
|
||||||
qDebug() << "Flame:" << flameFound;
|
qDebug() << "Flame:" << flameFound;
|
||||||
root = flameFound;
|
root = flameFound;
|
||||||
m_modpackType = ModpackType::Flame;
|
m_modpackType = ModpackType::Flame;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_modpackType == ModpackType::Unknown)
|
if(m_modpackType == ModpackType::Unknown)
|
||||||
{
|
{
|
||||||
emitFailed(tr("Archive does not contain a recognized modpack type."));
|
emitFailed(tr("Archive does not contain a recognized modpack type."));
|
||||||
|
Loading…
Reference in New Issue
Block a user