diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-03-31 00:19:43 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-03-31 00:19:43 +0200 |
commit | 29b00eab311064a6ae1512c3c35144c33e7f8ac3 (patch) | |
tree | e4134b1e8c1eeb9b18920097187cbbc7bff207ef /logic/OneSixInstance.cpp | |
parent | a3c95d9bcc581d74e3d8bfa6e1d3db0478b209f9 (diff) | |
download | MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.gz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.lz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.tar.xz MultiMC-29b00eab311064a6ae1512c3c35144c33e7f8ac3.zip |
Fix FTB-related issues0.3.1
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r-- | logic/OneSixInstance.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index ccc25845..24d54446 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -320,6 +320,17 @@ bool OneSixInstance::versionIsCustom() || QFile::exists(PathCombine(instanceRoot(), "user.json")); } +bool OneSixInstance::versionIsFTBPack() +{ + I_D(const OneSixInstance); + auto ver = d->version; + if(ver) + { + return ver->hasFtbPack(); + } + return false; +} + QString OneSixInstance::currentVersionId() const { return intendedVersionId(); |