From 5ea170db7805528b1355cfe94987c349e851e5c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 7 Jul 2017 19:50:24 +0200 Subject: [PATCH] GH-1927 fix potential issue with FMLLibrariesTask succeeding twice. --- api/logic/minecraft/onesix/update/FMLLibrariesTask.cpp | 1 + 1 file changed, 1 insertion(+) 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();