NOISSUE slightly improve Forge detection in FTBA import

This commit is contained in:
Petr Mrázek 2022-06-05 00:09:28 +02:00
parent 305157746a
commit fe75a7f09e

View File

@ -233,12 +233,13 @@ void resolveModloader(QString mcVersion, ModLoader &loader) {
if(versionIsNext) {
loader.type = ModLoaderType::Forge;
loader.version = value;
break;
return;
}
if(value == "--fml.forgeVersion") {
versionIsNext = true;
}
}
loader.type = ModLoaderType::Unresolved;
return;
}
catch (const JSONValidationError &e)