diff options
author | Taeyeon Mori <orochimarufan.x3@gmail.com> | 2014-04-12 19:45:04 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-30 23:51:40 +0200 |
commit | 1f498266d8748c731a7cdcc1a0adebe4dc7a9703 (patch) | |
tree | 3ad44647e1141087b456014baccf6da01327a365 | |
parent | e241c3625c2e0f005ee2cb01577ceeb054bbbd98 (diff) | |
download | MultiMC-1f498266d8748c731a7cdcc1a0adebe4dc7a9703.tar MultiMC-1f498266d8748c731a7cdcc1a0adebe4dc7a9703.tar.gz MultiMC-1f498266d8748c731a7cdcc1a0adebe4dc7a9703.tar.lz MultiMC-1f498266d8748c731a7cdcc1a0adebe4dc7a9703.tar.xz MultiMC-1f498266d8748c731a7cdcc1a0adebe4dc7a9703.zip |
Fix bug in OneSixInstance's modification detection.
OneSixInstance would report all instances as custom because of a typo.
Thanks Clang :)
-rw-r--r-- | logic/minecraft/InstanceVersion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/InstanceVersion.cpp b/logic/minecraft/InstanceVersion.cpp index ca0e3796..91393b53 100644 --- a/logic/minecraft/InstanceVersion.cpp +++ b/logic/minecraft/InstanceVersion.cpp @@ -157,7 +157,7 @@ bool InstanceVersion::removeFtbPack() bool InstanceVersion::isVanilla() { QDir patches(PathCombine(m_instance->instanceRoot(), "patches/")); - if(VersionPatches.size() > 1) + if(VersionPatches.size() >= 1) return false; if(QFile::exists(PathCombine(m_instance->instanceRoot(), "custom.json"))) return false; |