NOISSUE remove legacy version blacklist
This commit is contained in:
		@@ -179,12 +179,6 @@ void MinecraftVersionList::loadBuiltinList()
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (g_VersionFilterData.legacyBlacklist.contains(versionID))
 | 
			
		||||
		{
 | 
			
		||||
			qWarning() << "Blacklisted legacy version ignored: " << versionID;
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// Now, we construct the version object and add it to the list.
 | 
			
		||||
		std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion());
 | 
			
		||||
		mcVersion->m_name = mcVersion->m_descriptor = versionID;
 | 
			
		||||
@@ -258,12 +252,6 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (g_VersionFilterData.legacyBlacklist.contains(versionID))
 | 
			
		||||
		{
 | 
			
		||||
			qWarning() << "Blacklisted legacy version ignored: " << versionID;
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// Now, we construct the version object and add it to the list.
 | 
			
		||||
		std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion());
 | 
			
		||||
		mcVersion->m_name = mcVersion->m_descriptor = versionID;
 | 
			
		||||
 
 | 
			
		||||
@@ -58,8 +58,6 @@ VersionFilterData::VersionFilterData()
 | 
			
		||||
 | 
			
		||||
	// don't use installers for those.
 | 
			
		||||
	forgeInstallerBlacklist = QSet<QString>({"1.5.2"});
 | 
			
		||||
	// these won't show up in version lists because they are extremely bad and dangerous
 | 
			
		||||
	legacyBlacklist = QSet<QString>({"rd-160052"});
 | 
			
		||||
	/*
 | 
			
		||||
	 * nothing older than this will be accepted from Mojang servers
 | 
			
		||||
	 * (these versions need to be tested by us first)
 | 
			
		||||
 
 | 
			
		||||
@@ -20,8 +20,6 @@ struct VersionFilterData
 | 
			
		||||
	QMap<QString, QList<FMLlib>> fmlLibsMapping;
 | 
			
		||||
	// set of minecraft versions for which using forge installers is blacklisted
 | 
			
		||||
	QSet<QString> forgeInstallerBlacklist;
 | 
			
		||||
	// set of 'legacy' versions that will not show up in the version lists.
 | 
			
		||||
	QSet<QString> legacyBlacklist;
 | 
			
		||||
	// no new versions below this date will be accepted from Mojang servers
 | 
			
		||||
	QDateTime legacyCutoffDate;
 | 
			
		||||
	// Libraries that belong to LWJGL
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user