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:
		
				
					committed by
					
						
						Petr Mrázek
					
				
			
			
				
	
			
			
			
						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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user