aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame/FlameAPI.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-26 21:33:15 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-26 21:33:15 +0300
commitc778dcbc9c326c1bf563852d7393bf43c1514346 (patch)
treeb0b556492b5c83d07858f60d56feadca64983648 /launcher/modplatform/flame/FlameAPI.h
parentd7f4e40f85d1e253fe62e1c9e1cfb1842ffb0c86 (diff)
parenta0944dab7a8fff9b5d9c2c8d35cc55349c93a3cd (diff)
downloadPrismLauncher-c778dcbc9c326c1bf563852d7393bf43c1514346.tar.gz
PrismLauncher-c778dcbc9c326c1bf563852d7393bf43c1514346.tar.bz2
PrismLauncher-c778dcbc9c326c1bf563852d7393bf43c1514346.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse
Diffstat (limited to 'launcher/modplatform/flame/FlameAPI.h')
-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)
{