diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-27 01:30:18 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-27 01:30:18 +0200 |
commit | f9e186ab704401416832d723c2e70a0f7a7435b3 (patch) | |
tree | ac6e7fd9ed66a503a276339b8d1159a1ff56bde4 /logic/forge/ForgeInstaller.cpp | |
parent | 50a4a1e19ef148972eb9eb116f0fdd1b6b0bcdda (diff) | |
download | MultiMC-f9e186ab704401416832d723c2e70a0f7a7435b3.tar MultiMC-f9e186ab704401416832d723c2e70a0f7a7435b3.tar.gz MultiMC-f9e186ab704401416832d723c2e70a0f7a7435b3.tar.lz MultiMC-f9e186ab704401416832d723c2e70a0f7a7435b3.tar.xz MultiMC-f9e186ab704401416832d723c2e70a0f7a7435b3.zip |
GH-967 make libraries handle their own path prefix
Makes it possible to mix libraries managed by FTB and MultiMC
Backport from unstable
Diffstat (limited to 'logic/forge/ForgeInstaller.cpp')
-rw-r--r-- | logic/forge/ForgeInstaller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/forge/ForgeInstaller.cpp b/logic/forge/ForgeInstaller.cpp index a2a9c863..18527c49 100644 --- a/logic/forge/ForgeInstaller.cpp +++ b/logic/forge/ForgeInstaller.cpp @@ -87,8 +87,8 @@ void ForgeInstaller::prepare(const QString &filename, const QString &universalUr // where do we put the library? decode the mojang path OneSixLibrary lib(libraryName); - auto cacheentry = ENV.metacache()->resolveEntry("libraries", lib.storagePath()); - finalPath = "libraries/" + lib.storagePath(); + auto cacheentry = ENV.metacache()->resolveEntry("libraries", lib.storageSuffix()); + finalPath = "libraries/" + lib.storageSuffix(); if (!ensureFilePathExists(finalPath)) return; |