summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/onesix/OneSixUpdate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/onesix/OneSixUpdate.cpp')
-rw-r--r--logic/minecraft/onesix/OneSixUpdate.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/logic/minecraft/onesix/OneSixUpdate.cpp b/logic/minecraft/onesix/OneSixUpdate.cpp
index 814cde18..b49f09b6 100644
--- a/logic/minecraft/onesix/OneSixUpdate.cpp
+++ b/logic/minecraft/onesix/OneSixUpdate.cpp
@@ -174,19 +174,10 @@ void OneSixUpdate::jarlibStart()
setStatus(tr("Getting the library files from Mojang..."));
qDebug() << m_inst->name() << ": downloading libraries";
OneSixInstance *inst = (OneSixInstance *)m_inst;
- try
+ inst->reloadProfile();
+ if(inst->flags() & BaseInstance::VersionBrokenFlag)
{
- inst->reloadProfile();
- }
- catch (Exception &e)
- {
- emitFailed(e.cause());
- return;
- }
- catch (...)
- {
- emitFailed(tr("Failed to load the version description file for reasons unknown."));
- return;
+ emitFailed(tr("Failed to load the version description files - check the instance for errors."));
}
// Build a list of URLs that will need to be downloaded.