summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-07-07 19:50:24 +0200
committerPetr Mrázek <peterix@gmail.com>2017-07-07 19:50:24 +0200
commit5ea170db7805528b1355cfe94987c349e851e5c3 (patch)
treec576d7a45209c4d7acc4c196fc1b8473b1ff1cc2
parente5b4b5d2954d72f0323ced8e7d14f5ce9606e4cb (diff)
downloadMultiMC-5ea170db7805528b1355cfe94987c349e851e5c3.tar
MultiMC-5ea170db7805528b1355cfe94987c349e851e5c3.tar.gz
MultiMC-5ea170db7805528b1355cfe94987c349e851e5c3.tar.lz
MultiMC-5ea170db7805528b1355cfe94987c349e851e5c3.tar.xz
MultiMC-5ea170db7805528b1355cfe94987c349e851e5c3.zip
GH-1927 fix potential issue with FMLLibrariesTask succeeding twice.
-rw-r--r--api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp b/api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp
index 1cbee95e..42148e67 100644
--- a/api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp
+++ b/api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp
@@ -19,6 +19,7 @@ void FMLLibrariesTask::executeTask()
if (!profile->hasTrait("legacyFML"))
{
emitSucceeded();
+ return;
}
QString version = inst->intendedVersionId();