summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-12-06 00:33:49 +0100
committerPetr Mrázek <peterix@gmail.com>2018-12-06 00:33:49 +0100
commitf111d1bc0c9cd41dc58928ec5d5d6153bc18fe36 (patch)
treee9291ea8525dd4bbdceeab1c28ac4555b9a0ddc5
parent0ee915200b87d69ca1c27fdb756fcbf6c9913a2f (diff)
downloadMultiMC-f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36.tar
MultiMC-f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36.tar.gz
MultiMC-f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36.tar.lz
MultiMC-f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36.tar.xz
MultiMC-f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36.zip
GH-2483 fix minor issue while checking for missing local files
-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())
{