summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/curse/PackManifest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/curse/PackManifest.cpp')
-rw-r--r--api/logic/minecraft/curse/PackManifest.cpp2
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)