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 jarmodArtifactPool = profile->getJarMods(); - processArtifactPool(libArtifactPool, failedLocalJarMods, inst->jarModsDir()); + processArtifactPool(profile->getJarMods(), failedLocalJarMods, inst->jarModsDir()); if (!failedLocalJarMods.empty() || !failedLocalLibraries.empty()) {