diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-04-21 22:23:31 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-21 22:23:31 +0200 |
commit | ab5045b54cc6db3268529d011b38e545630b5114 (patch) | |
tree | ad140f7d1833a1b89831255d374ea225f6728318 /api/logic/minecraft/curse/PackManifest.cpp | |
parent | f3c46dbf11ada91b0da8de506cb5308a7242bb33 (diff) | |
download | MultiMC-ab5045b54cc6db3268529d011b38e545630b5114.tar MultiMC-ab5045b54cc6db3268529d011b38e545630b5114.tar.gz MultiMC-ab5045b54cc6db3268529d011b38e545630b5114.tar.lz MultiMC-ab5045b54cc6db3268529d011b38e545630b5114.tar.xz MultiMC-ab5045b54cc6db3268529d011b38e545630b5114.zip |
NOISSUE finalize curse modpack import work
Diffstat (limited to 'api/logic/minecraft/curse/PackManifest.cpp')
-rw-r--r-- | api/logic/minecraft/curse/PackManifest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/minecraft/curse/PackManifest.cpp b/api/logic/minecraft/curse/PackManifest.cpp index a4ea703b..fd40a37c 100644 --- a/api/logic/minecraft/curse/PackManifest.cpp +++ b/api/logic/minecraft/curse/PackManifest.cpp @@ -11,7 +11,7 @@ static void loadFileV1(Curse::File & f, QJsonObject & file) static void loadModloaderV1(Curse::Modloader & m, QJsonObject & modLoader) { m.id = Json::requireString(modLoader, "id"); - m.primary = Json::ensureBoolean(modLoader, "primary", false); + m.primary = Json::ensureBoolean(modLoader, QString("primary"), false); } static void loadMinecraftV1(Curse::Minecraft & m, QJsonObject & minecraft) |