summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaeyeon Mori <orochimarufan.x3@gmail.com>2014-04-12 19:45:04 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-30 23:51:40 +0200
commit1f498266d8748c731a7cdcc1a0adebe4dc7a9703 (patch)
tree3ad44647e1141087b456014baccf6da01327a365
parente241c3625c2e0f005ee2cb01577ceeb054bbbd98 (diff)
downloadMultiMC-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.cpp2
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;