diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-02-21 19:15:59 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-02-21 19:15:59 +0100 |
commit | 4883d1526222f9804f304f4cc189d6e44cb22b97 (patch) | |
tree | 3337cb34d9fdf4947c30b6e36f7747782cb212d4 /logic/OneSixUpdate.cpp | |
parent | f54705e1c5311e023b2e1ebd5d4db226a7c7149e (diff) | |
download | MultiMC-4883d1526222f9804f304f4cc189d6e44cb22b97.tar MultiMC-4883d1526222f9804f304f4cc189d6e44cb22b97.tar.gz MultiMC-4883d1526222f9804f304f4cc189d6e44cb22b97.tar.lz MultiMC-4883d1526222f9804f304f4cc189d6e44cb22b97.tar.xz MultiMC-4883d1526222f9804f304f4cc189d6e44cb22b97.zip |
Copying of FTB instances working again
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r-- | logic/OneSixUpdate.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp index d3ac80c2..f87c65e7 100644 --- a/logic/OneSixUpdate.cpp +++ b/logic/OneSixUpdate.cpp @@ -35,7 +35,7 @@ #include "pathutils.h" #include <JlCompress.h> -OneSixUpdate::OneSixUpdate(BaseInstance *inst, QObject *parent) +OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent) : Task(parent), m_inst(inst) { } @@ -73,6 +73,11 @@ void OneSixUpdate::executeTask() void OneSixUpdate::versionFileStart() { + if (m_inst->providesVersionFile()) + { + jarlibStart(); + return; + } QLOG_INFO() << m_inst->name() << ": getting version file."; setStatus(tr("Getting the version files from Mojang...")); |