summaryrefslogtreecommitdiffstats
path: root/logic/forge/ForgeInstaller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/forge/ForgeInstaller.cpp')
-rw-r--r--logic/forge/ForgeInstaller.cpp4
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;