Permalink
Browse files

NOISSUE make sure MultiMC and Flame import is mutually exclusive

  • Loading branch information...
peterix committed Sep 25, 2017
1 parent 678c7ab commit eac892965e152519a6d7278504e7d4118aa7c01f
Showing with 2 additions and 1 deletion.
  1. +2 −1 api/logic/InstanceImportTask.cpp
@@ -97,13 +97,14 @@ void InstanceImportTask::processZipPack()
root = mmcFound;
m_modpackType = ModpackType::MultiMC;
}
if(!flameFound.isNull())
else if(!flameFound.isNull())
{
// process as Flame pack
qDebug() << "Flame:" << flameFound;
root = flameFound;
m_modpackType = ModpackType::Flame;
}
if(m_modpackType == ModpackType::Unknown)
{
emitFailed(tr("Archive does not contain a recognized modpack type."));

0 comments on commit eac8929

Please sign in to comment.