diff options
author | flow <flowlnlnln@gmail.com> | 2022-12-16 20:26:10 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-02-05 17:02:52 -0300 |
commit | c3ea303a3742c886aae9e05d2e5f5fbb497260a1 (patch) | |
tree | a6d0d45d75b3761c8b92194d167b7128352efb09 /launcher/modplatform/modrinth/ModrinthAPI.h | |
parent | e89a10945c683a1212fa6aa7824173f4f20cdee6 (diff) | |
download | PrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.tar.gz PrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.tar.bz2 PrismLauncher-c3ea303a3742c886aae9e05d2e5f5fbb497260a1.zip |
feat(RD): add resource pack downloader
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthAPI.h')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthAPI.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h index dda27303..0b2d149e 100644 --- a/launcher/modplatform/modrinth/ModrinthAPI.h +++ b/launcher/modplatform/modrinth/ModrinthAPI.h @@ -68,6 +68,8 @@ class ModrinthAPI : public NetworkResourceAPI { switch (type) { case ModPlatform::ResourceType::MOD: return "mod"; + case ModPlatform::ResourceType::RESOURCE_PACK: + return "resourcepack"; default: qWarning() << "Invalid resource type for Modrinth API!"; break; |