diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-19 03:06:32 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-26 17:05:27 +0100 |
commit | ec6204e447fd9e88b4cf2a628ed220f93f271fd0 (patch) | |
tree | 498553279ed6966d188c486ebc11205518f09a0c /logic/minecraft/MinecraftVersionList.cpp | |
parent | 9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c (diff) | |
download | MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.gz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.lz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.tar.xz MultiMC-ec6204e447fd9e88b4cf2a628ed220f93f271fd0.zip |
NOISSUE share logic for new attributes between mojang and onesix format
Diffstat (limited to 'logic/minecraft/MinecraftVersionList.cpp')
-rw-r--r-- | logic/minecraft/MinecraftVersionList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/MinecraftVersionList.cpp b/logic/minecraft/MinecraftVersionList.cpp index f219c782..62c588d1 100644 --- a/logic/minecraft/MinecraftVersionList.cpp +++ b/logic/minecraft/MinecraftVersionList.cpp @@ -508,7 +508,7 @@ void MCVListVersionUpdateTask::json_downloaded() file->fileId = "net.minecraft"; // now dump the file to disk - auto doc = OneSixVersionFormat::profilePatchToJson(file, false); + auto doc = OneSixVersionFormat::versionFileToJson(file, false); auto newdata = doc.toBinaryData(); auto id = updatedVersion->descriptor(); QString targetPath = "versions/" + id + "/" + id + ".dat"; |