From f111d1bc0c9cd41dc58928ec5d5d6153bc18fe36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 6 Dec 2018 00:33:49 +0100 Subject: [PATCH] GH-2483 fix minor issue while checking for missing local files --- api/logic/minecraft/update/LibrariesTask.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/logic/minecraft/update/LibrariesTask.cpp b/api/logic/minecraft/update/LibrariesTask.cpp index 7a0a0a6d8..d77036ff6 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 jarmodArtifactPool = profile->getJarMods(); - processArtifactPool(libArtifactPool, failedLocalJarMods, inst->jarModsDir()); + processArtifactPool(profile->getJarMods(), failedLocalJarMods, inst->jarModsDir()); if (!failedLocalJarMods.empty() || !failedLocalLibraries.empty()) {