mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-04-16 05:43:01 +00:00
NOISSUE slightly improve Forge detection in FTBA import
This commit is contained in:
parent
305157746a
commit
fe75a7f09e
@ -233,12 +233,13 @@ void resolveModloader(QString mcVersion, ModLoader &loader) {
|
|||||||
if(versionIsNext) {
|
if(versionIsNext) {
|
||||||
loader.type = ModLoaderType::Forge;
|
loader.type = ModLoaderType::Forge;
|
||||||
loader.version = value;
|
loader.version = value;
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
if(value == "--fml.forgeVersion") {
|
if(value == "--fml.forgeVersion") {
|
||||||
versionIsNext = true;
|
versionIsNext = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
loader.type = ModLoaderType::Unresolved;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch (const JSONValidationError &e)
|
catch (const JSONValidationError &e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user