summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/logic/minecraft/update/LibrariesTask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/logic/minecraft/update/LibrariesTask.cpp b/api/logic/minecraft/update/LibrariesTask.cpp
index 7a0a0a6d..d77036ff 100644
--- a/api/logic/minecraft/update/LibrariesTask.cpp
+++ b/api/logic/minecraft/update/LibrariesTask.cpp
@@ -49,8 +49,7 @@ void LibrariesTask::executeTask()
processArtifactPool(libArtifactPool, failedLocalLibraries, inst->getLocalLibraryPath());
QStringList failedLocalJarMods;
- QList<LibraryPtr> jarmodArtifactPool = profile->getJarMods();
- processArtifactPool(libArtifactPool, failedLocalJarMods, inst->jarModsDir());
+ processArtifactPool(profile->getJarMods(), failedLocalJarMods, inst->jarModsDir());
if (!failedLocalJarMods.empty() || !failedLocalLibraries.empty())
{