NOISSUE include json path in errors when FTB json is missing.

This commit is contained in:
Petr Mrázek 2016-11-17 04:40:07 +01:00
parent 9b41986634
commit 9efdd7232c

View File

@ -44,7 +44,7 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches()
} }
else else
{ {
throw VersionIncomplete("net.minecraft"); throw VersionIncomplete("net.minecraft : " + mcJson);
} }
minecraftPatch->setOrder(-2); minecraftPatch->setOrder(-2);
} }
@ -86,7 +86,7 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches()
} }
else else
{ {
throw VersionIncomplete("org.multimc.ftb.pack"); throw VersionIncomplete("org.multimc.ftb.pack : " + mcJson);
} }
packPatch->setOrder(1); packPatch->setOrder(1);
} }