mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
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()
|
||||
{
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user