Merge pull request #710 from byquanton/develop

Fixes https://github.com/PrismLauncher/PrismLauncher/issues/708
This commit is contained in:
Sefa Eyeoglu 2023-01-07 17:18:10 +01:00
parent 4438684ce6
commit 3fc63fa196
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -172,7 +172,7 @@ void Technic::TechnicPackProcessor::run(SettingsObjectPtr globalSettings, const
auto libraryObject = Json::ensureObject(library, {}, "");
auto libraryName = Json::ensureString(libraryObject, "name", "", "");
if (libraryName.startsWith("net.minecraftforge:forge:") && libraryName.contains('-'))
if ((libraryName.startsWith("net.minecraftforge:forge:") || libraryName.startsWith("net.minecraftforge:fmlloader:")) && libraryName.contains('-'))
{
QString libraryVersion = libraryName.section(':', 2);
if (!libraryVersion.startsWith("1.7.10-"))