aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthAPI.h')
-rw-r--r--launcher/modplatform/modrinth/ModrinthAPI.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h
index 30952e99..711649d9 100644
--- a/launcher/modplatform/modrinth/ModrinthAPI.h
+++ b/launcher/modplatform/modrinth/ModrinthAPI.h
@@ -55,11 +55,13 @@ class ModrinthAPI : public NetworkModAPI {
{
switch (modLoader) {
case Any:
- return "fabric, forge";
+ return "fabric, forge, quilt";
case Forge:
return "forge";
case Fabric:
return "fabric";
+ case Quilt:
+ return "quilt";
default:
return "";
}
@@ -67,7 +69,7 @@ class ModrinthAPI : public NetworkModAPI {
inline auto validateModLoader(ModLoaderType modLoader) const -> bool
{
- return modLoader == Any || modLoader == Forge || modLoader == Fabric;
+ return modLoader == Any || modLoader == Forge || modLoader == Fabric || modLoader == Quilt;
}
};