diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-19 09:00:59 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-19 09:00:59 +0300 |
commit | 0138cd65cb259966fa9902732bb03e3e7888cc64 (patch) | |
tree | 4e50f77a46a1e3b29e57873c846783683923c556 /launcher/modplatform/modrinth | |
parent | 3098aecf9760074a291bd8460ce749e556baad3a (diff) | |
download | PrismLauncher-0138cd65cb259966fa9902732bb03e3e7888cc64.tar.gz PrismLauncher-0138cd65cb259966fa9902732bb03e3e7888cc64.tar.bz2 PrismLauncher-0138cd65cb259966fa9902732bb03e3e7888cc64.zip |
feat:neoforge can download forge mods
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthAPI.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h index 0f150e97..fb42c532 100644 --- a/launcher/modplatform/modrinth/ModrinthAPI.h +++ b/launcher/modplatform/modrinth/ModrinthAPI.h @@ -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; |