summaryrefslogtreecommitdiffstats
path: root/logic/forge
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-02-26 02:04:21 +0100
committerPetr Mrázek <peterix@gmail.com>2016-02-26 02:04:21 +0100
commit71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8 (patch)
tree2b96e6bc1c531c094a1a9d41e171cbed9e97210e /logic/forge
parentf6b2ccb110f0bb4071044456a93c6edc1de50922 (diff)
downloadMultiMC-71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8.tar
MultiMC-71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8.tar.gz
MultiMC-71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8.tar.lz
MultiMC-71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8.tar.xz
MultiMC-71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8.zip
NOISSUE remove OneSixLibrary
Diffstat (limited to 'logic/forge')
-rw-r--r--logic/forge/ForgeInstaller.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/forge/ForgeInstaller.cpp b/logic/forge/ForgeInstaller.cpp
index cdbb5f18..78acb8d4 100644
--- a/logic/forge/ForgeInstaller.cpp
+++ b/logic/forge/ForgeInstaller.cpp
@@ -15,7 +15,7 @@
#include "ForgeInstaller.h"
#include "minecraft/MinecraftProfile.h"
-#include "minecraft/OneSixLibrary.h"
+#include "minecraft/GradleSpecifier.h"
#include "net/HttpMetaCache.h"
#include "tasks/Task.h"
#include "minecraft/OneSixInstance.h"
@@ -86,10 +86,10 @@ void ForgeInstaller::prepare(const QString &filename, const QString &universalUr
m_forgeVersionString = installObj.value("version").toString().remove("Forge").trimmed();
// where do we put the library? decode the mojang path
- OneSixLibrary lib(libraryName);
+ GradleSpecifier lib(libraryName);
- auto cacheentry = ENV.metacache()->resolveEntry("libraries", lib.storageSuffix());
- finalPath = "libraries/" + lib.storageSuffix();
+ auto cacheentry = ENV.metacache()->resolveEntry("libraries", lib.toPath());
+ finalPath = "libraries/" + lib.toPath();
if (!FS::ensureFilePathExists(finalPath))
return;