NOISSUE remove legacy version blacklist

This commit is contained in:
Petr Mrázek 2017-03-06 00:39:25 +01:00
parent 160b5033a7
commit 8cbe13c656
3 changed files with 0 additions and 16 deletions

View File

@ -179,12 +179,6 @@ void MinecraftVersionList::loadBuiltinList()
continue; 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. // Now, we construct the version object and add it to the list.
std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion()); std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion());
mcVersion->m_name = mcVersion->m_descriptor = versionID; mcVersion->m_name = mcVersion->m_descriptor = versionID;
@ -258,12 +252,6 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s
continue; 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. // Now, we construct the version object and add it to the list.
std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion()); std::shared_ptr<MinecraftVersion> mcVersion(new MinecraftVersion());
mcVersion->m_name = mcVersion->m_descriptor = versionID; mcVersion->m_name = mcVersion->m_descriptor = versionID;

View File

@ -58,8 +58,6 @@ VersionFilterData::VersionFilterData()
// don't use installers for those. // don't use installers for those.
forgeInstallerBlacklist = QSet<QString>({"1.5.2"}); 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 * nothing older than this will be accepted from Mojang servers
* (these versions need to be tested by us first) * (these versions need to be tested by us first)

View File

@ -20,8 +20,6 @@ struct VersionFilterData
QMap<QString, QList<FMLlib>> fmlLibsMapping; QMap<QString, QList<FMLlib>> fmlLibsMapping;
// set of minecraft versions for which using forge installers is blacklisted // set of minecraft versions for which using forge installers is blacklisted
QSet<QString> forgeInstallerBlacklist; 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 // no new versions below this date will be accepted from Mojang servers
QDateTime legacyCutoffDate; QDateTime legacyCutoffDate;
// Libraries that belong to LWJGL // Libraries that belong to LWJGL