summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/forge
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-02-27 22:02:56 +0100
committerPetr Mrázek <peterix@gmail.com>2016-02-27 22:02:56 +0100
commita0b47aee5ba8d96e5ceec12798be9f63a16dbcd5 (patch)
tree5fcdca854ff8c93ac6f5b5715a2ff3d0dc7a8ad8 /logic/minecraft/forge
parent17ad1e64f824fba6d8f153191effdb2af7d387c8 (diff)
downloadMultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.gz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.lz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.tar.xz
MultiMC-a0b47aee5ba8d96e5ceec12798be9f63a16dbcd5.zip
NOISSUE move version file reading and writing to dedicated namespaces
Diffstat (limited to 'logic/minecraft/forge')
-rw-r--r--logic/minecraft/forge/ForgeInstaller.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/minecraft/forge/ForgeInstaller.cpp b/logic/minecraft/forge/ForgeInstaller.cpp
index a9283e5d..468414f8 100644
--- a/logic/minecraft/forge/ForgeInstaller.cpp
+++ b/logic/minecraft/forge/ForgeInstaller.cpp
@@ -21,6 +21,7 @@
#include "net/HttpMetaCache.h"
#include "tasks/Task.h"
#include "minecraft/onesix/OneSixInstance.h"
+#include <minecraft/onesix/OneSixVersionFormat.h>
#include "minecraft/VersionFilterData.h"
#include "Env.h"
#include "Exception.h"
@@ -76,7 +77,7 @@ void ForgeInstaller::prepare(const QString &filename, const QString &universalUr
// read the forge version info
{
- newVersion = MinecraftProfile::fromJson(versionInfoVal.toObject());
+ newVersion = OneSixVersionFormat::readProfileFromSingleFile(versionInfoVal.toObject());
if (!newVersion)
return;
}