mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-21 19:27:15 +00:00
NOISSUE slightly improve Forge detection in FTBA import
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user