summaryrefslogtreecommitdiffstats
path: root/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-03-18 20:49:09 +0100
committerPetr Mrázek <peterix@gmail.com>2016-03-26 17:05:27 +0100
commit9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c (patch)
treed00770829d73f27b701b0b72f0e153096ac612ed /logic/minecraft
parentb7d8e512f4184a755809fe9a964a04921f8abf7c (diff)
downloadMultiMC-9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c.tar
MultiMC-9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c.tar.gz
MultiMC-9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c.tar.lz
MultiMC-9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c.tar.xz
MultiMC-9e3534f2f6d60dc4c1b14ebaa748c0cb26638a4c.zip
NOISSUE stop update task when it can't read version files
Diffstat (limited to 'logic/minecraft')
-rw-r--r--logic/minecraft/onesix/OneSixUpdate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/minecraft/onesix/OneSixUpdate.cpp b/logic/minecraft/onesix/OneSixUpdate.cpp
index b49f09b6..fe1d3a6e 100644
--- a/logic/minecraft/onesix/OneSixUpdate.cpp
+++ b/logic/minecraft/onesix/OneSixUpdate.cpp
@@ -178,6 +178,7 @@ void OneSixUpdate::jarlibStart()
if(inst->flags() & BaseInstance::VersionBrokenFlag)
{
emitFailed(tr("Failed to load the version description files - check the instance for errors."));
+ return;
}
// Build a list of URLs that will need to be downloaded.