aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth
diff options
context:
space:
mode:
authorEzekiel Smith <ezekielsmith@protonmail.com>2022-04-17 13:46:22 +1000
committerGitHub <noreply@github.com>2022-04-17 13:46:22 +1000
commit703bf9bb7a52aeb20aeba1ad3c07c5709f22d0bb (patch)
treed39c712ec74421a767e74d4db2185c199604f014 /launcher/modplatform/modrinth
parenta40dee2230ee18d537a2472bf0e0164a0cf8a390 (diff)
parentcab9afa45f7a7dfcb87080804f3a6ef90f953819 (diff)
downloadPrismLauncher-703bf9bb7a52aeb20aeba1ad3c07c5709f22d0bb.tar.gz
PrismLauncher-703bf9bb7a52aeb20aeba1ad3c07c5709f22d0bb.tar.bz2
PrismLauncher-703bf9bb7a52aeb20aeba1ad3c07c5709f22d0bb.zip
Merge pull request #431 from Scrumplex/feat-quilt-modrinth
Query for Fabric mods if Quilt is in use
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r--launcher/modplatform/modrinth/ModrinthAPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h
index 6604d772..84dd7d03 100644
--- a/launcher/modplatform/modrinth/ModrinthAPI.h
+++ b/launcher/modplatform/modrinth/ModrinthAPI.h
@@ -54,6 +54,9 @@ class ModrinthAPI : public NetworkModAPI {
{
if (type == Unspecified)
return "fabric, forge, quilt";
+ // TODO: remove this once Quilt drops official Fabric support
+ if (type == Quilt) // NOTE: Most if not all Fabric mods should work *currently*
+ return "fabric, quilt";
return ModAPI::getModLoaderString(type);
}