Fail if we fail to find the right forge version

This commit is contained in:
Petr Mrázek 2013-12-22 05:15:26 +01:00
parent 74b5b5f535
commit 245d441a6e

View File

@ -27,7 +27,10 @@ public:
} }
} }
if (!forgeVersion) if (!forgeVersion)
{
emitFailed(QString("Couldn't find forge version ") + version );
return; return;
}
entry = MMC->metacache()->resolveEntry("minecraftforge", forgeVersion->filename); entry = MMC->metacache()->resolveEntry("minecraftforge", forgeVersion->filename);
if (entry->stale) if (entry->stale)
{ {