Fix bug in OneSixInstance's modification detection.
OneSixInstance would report all instances as custom because of a typo. Thanks Clang :)
This commit is contained in:
parent
e241c3625c
commit
1f498266d8
@ -157,7 +157,7 @@ bool InstanceVersion::removeFtbPack()
|
|||||||
bool InstanceVersion::isVanilla()
|
bool InstanceVersion::isVanilla()
|
||||||
{
|
{
|
||||||
QDir patches(PathCombine(m_instance->instanceRoot(), "patches/"));
|
QDir patches(PathCombine(m_instance->instanceRoot(), "patches/"));
|
||||||
if(VersionPatches.size() > 1)
|
if(VersionPatches.size() >= 1)
|
||||||
return false;
|
return false;
|
||||||
if(QFile::exists(PathCombine(m_instance->instanceRoot(), "custom.json")))
|
if(QFile::exists(PathCombine(m_instance->instanceRoot(), "custom.json")))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user