From ec6204e447fd9e88b4cf2a628ed220f93f271fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 19 Mar 2016 03:06:32 +0100 Subject: NOISSUE share logic for new attributes between mojang and onesix format --- logic/minecraft/MinecraftVersionList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/minecraft/MinecraftVersionList.cpp') 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"; -- cgit v1.2.3