feat:neoforge can download forge mods

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-08-19 09:00:59 +03:00
parent 3098aecf97
commit 0138cd65cb
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
2 changed files with 6 additions and 3 deletions

View file

@ -43,6 +43,8 @@ class ModrinthAPI : public NetworkResourceAPI {
l << getModLoaderString(loader);
}
}
if ((types & NeoForge) && (~types & Forge)) // Add Forge if NeoForge is in use, if Forge isn't already there
l << getModLoaderString(Forge);
if ((types & Quilt) && (~types & Fabric)) // Add Fabric if Quilt is in use, if Fabric isn't already there
l << getModLoaderString(Fabric);
return l;