diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-07-10 16:42:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 16:42:38 +0100 |
commit | 9aedb5afffdda7db1b614f4f17ac5901b467d69d (patch) | |
tree | d31218b810e5219353137db7615247ba4fde1888 /launcher/modplatform/flame | |
parent | 91c9082d19b957c3295e7a0b5bc6add71e6459b8 (diff) | |
parent | d53d58a5d42684c5151680016f38a0f4bd1c0298 (diff) | |
download | PrismLauncher-9aedb5afffdda7db1b614f4f17ac5901b467d69d.tar.gz PrismLauncher-9aedb5afffdda7db1b614f4f17ac5901b467d69d.tar.bz2 PrismLauncher-9aedb5afffdda7db1b614f4f17ac5901b467d69d.zip |
Merge pull request #1334 from TheKodeToad/litemod-dl
LiteMod downloading
Diffstat (limited to 'launcher/modplatform/flame')
-rw-r--r-- | launcher/modplatform/flame/FlameAPI.h | 2 |
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) { |