From 71e4b147ec3b8c5f3e2a004920ffbc0a3b6e18c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 26 Feb 2016 02:04:21 +0100 Subject: NOISSUE remove OneSixLibrary --- logic/forge/ForgeInstaller.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'logic/forge') 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; -- cgit v1.2.3