aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-08 22:03:47 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-07-08 22:16:43 +0100
commitd53d58a5d42684c5151680016f38a0f4bd1c0298 (patch)
tree90f1b2b981e3c912e845b9f34bdc0095a8c20518 /launcher/modplatform/flame
parent67d473aab773e7f94c394ebdde05581dc8f805de (diff)
downloadPrismLauncher-d53d58a5d42684c5151680016f38a0f4bd1c0298.tar.gz
PrismLauncher-d53d58a5d42684c5151680016f38a0f4bd1c0298.tar.bz2
PrismLauncher-d53d58a5d42684c5151680016f38a0f4bd1c0298.zip
LiteMod downloading
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/modplatform/flame')
-rw-r--r--launcher/modplatform/flame/FlameAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/flame/FlameAPI.h b/launcher/modplatform/flame/FlameAPI.h
index 0a6dc78f..49bc316f 100644
--- a/launcher/modplatform/flame/FlameAPI.h
+++ b/launcher/modplatform/flame/FlameAPI.h
@@ -23,6 +23,8 @@ class FlameAPI : public NetworkResourceAPI {
[[nodiscard]] auto getSortingMethods() const -> QList<ResourceAPI::SortingMethod> override;
+ static inline auto validateModLoaders(ModLoaderTypes loaders) -> bool { return loaders & (Forge | Fabric | Quilt); }
+
private:
static int getClassId(ModPlatform::ResourceType type)
{