diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-24 13:24:40 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-24 13:24:40 +0300 |
commit | 8939096db659d1df5c75b938fc011a24af36e488 (patch) | |
tree | 983e46ba838b7b3d32511b3fcd4118290ba24a6d /launcher/modplatform | |
parent | cd1e8dc8cc87acf905ab3140efc48ef482973c7e (diff) | |
download | PrismLauncher-8939096db659d1df5c75b938fc011a24af36e488.tar.gz PrismLauncher-8939096db659d1df5c75b938fc011a24af36e488.tar.bz2 PrismLauncher-8939096db659d1df5c75b938fc011a24af36e488.zip |
Fixed windows build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r-- | launcher/modplatform/flame/FlamePackExportTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlamePackExportTask.cpp b/launcher/modplatform/flame/FlamePackExportTask.cpp index 927b2e46..2920cb86 100644 --- a/launcher/modplatform/flame/FlamePackExportTask.cpp +++ b/launcher/modplatform/flame/FlamePackExportTask.cpp @@ -197,7 +197,7 @@ void FlamePackExportTask::makeApiRequest() } setStatus(tr("Parsing API response from CurseForge for '%1'...").arg((*mod)->name())); - if (Json::ensureBoolean(file_obj, "isAvailable", false)) + if (Json::ensureBoolean(file_obj, "isAvailable", false, "isAvailable")) resolvedFiles.insert( mod.value()->fileinfo().absoluteFilePath(), { Json::requireInteger(file_obj, "modId"), Json::requireInteger(file_obj, "id"), mod.value()->enabled() }); |