diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-06 22:14:18 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-15 11:06:14 +0200 |
commit | 62c14cea2aea28cc943e795bb0f8ea10495c926a (patch) | |
tree | a7d74d0d7bf5c5ed9fbbef20a7814086463ad102 /launcher/modplatform/flame/FlameAPI.h | |
parent | 01c37508353b805a4c19330e076232ede593e383 (diff) | |
download | PrismLauncher-62c14cea2aea28cc943e795bb0f8ea10495c926a.tar.gz PrismLauncher-62c14cea2aea28cc943e795bb0f8ea10495c926a.tar.bz2 PrismLauncher-62c14cea2aea28cc943e795bb0f8ea10495c926a.zip |
fix: allow NeoForge in resource APIs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/modplatform/flame/FlameAPI.h')
-rw-r--r-- | launcher/modplatform/flame/FlameAPI.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameAPI.h b/launcher/modplatform/flame/FlameAPI.h index 33b1bed7..af8f3948 100644 --- a/launcher/modplatform/flame/FlameAPI.h +++ b/launcher/modplatform/flame/FlameAPI.h @@ -23,7 +23,7 @@ class FlameAPI : public NetworkResourceAPI { [[nodiscard]] auto getSortingMethods() const -> QList<ResourceAPI::SortingMethod> override; - static inline auto validateModLoaders(ModLoaderTypes loaders) -> bool { return loaders & (Forge | Fabric | Quilt); } + static inline auto validateModLoaders(ModLoaderTypes loaders) -> bool { return loaders & (NeoForge | Forge | Fabric | Quilt); } private: static int getClassId(ModPlatform::ResourceType type) |