summaryrefslogtreecommitdiffstats
path: root/api/logic/meta/JsonFormat.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-12-29 01:49:23 +0100
committerPetr Mrázek <peterix@gmail.com>2017-12-29 01:51:00 +0100
commit75c0046f41c2f69750fcf0913442d4e5336885b1 (patch)
treeee79103ff8c9cf05000df37ece155e63a476b33f /api/logic/meta/JsonFormat.cpp
parent719f3e863a2bdbaeaba37e837e0f6b75de124e6c (diff)
downloadMultiMC-75c0046f41c2f69750fcf0913442d4e5336885b1.tar
MultiMC-75c0046f41c2f69750fcf0913442d4e5336885b1.tar.gz
MultiMC-75c0046f41c2f69750fcf0913442d4e5336885b1.tar.lz
MultiMC-75c0046f41c2f69750fcf0913442d4e5336885b1.tar.xz
MultiMC-75c0046f41c2f69750fcf0913442d4e5336885b1.zip
NOISSUE initial meta version will be 1, map 0 to 1
Metadata for version 1 will be at v1.meta.multimc.org
Diffstat (limited to 'api/logic/meta/JsonFormat.cpp')
-rw-r--r--api/logic/meta/JsonFormat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/meta/JsonFormat.cpp b/api/logic/meta/JsonFormat.cpp
index 6e84597c..493aaecf 100644
--- a/api/logic/meta/JsonFormat.cpp
+++ b/api/logic/meta/JsonFormat.cpp
@@ -112,6 +112,7 @@ MetadataVersion parseFormatVersion(const QJsonObject &obj, bool required)
switch(obj.value("formatVersion").toInt())
{
case 0:
+ case 1:
return MetadataVersion::InitialRelease;
default:
return MetadataVersion::Invalid;