diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-03-06 00:39:25 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-07 00:19:51 +0200 |
commit | 8cbe13c6560c3abe8ef73b8a376bd84dea281cf4 (patch) | |
tree | 680417b3975d46d1f9d7efcaeb077dc240f380ed | |
parent | 160b5033a79e6b5ee9f3e2a001b96c677f41ddcb (diff) | |
download | MultiMC-8cbe13c6560c3abe8ef73b8a376bd84dea281cf4.tar MultiMC-8cbe13c6560c3abe8ef73b8a376bd84dea281cf4.tar.gz MultiMC-8cbe13c6560c3abe8ef73b8a376bd84dea281cf4.tar.lz MultiMC-8cbe13c6560c3abe8ef73b8a376bd84dea281cf4.tar.xz MultiMC-8cbe13c6560c3abe8ef73b8a376bd84dea281cf4.zip |
NOISSUE remove legacy version blacklist
-rw-r--r-- | api/logic/minecraft/MinecraftVersionList.cpp | 12 | ||||
-rw-r--r-- | api/logic/minecraft/VersionFilterData.cpp | 2 | ||||
-rw-r--r-- | api/logic/minecraft/VersionFilterData.h | 2 |
3 files changed, 0 insertions, 16 deletions
diff --git a/api/logic/minecraft/MinecraftVersionList.cpp b/api/logic/minecraft/MinecraftVersionList.cpp index 2c9a8035..29fa840e 100644 --- a/api/logic/minecraft/MinecraftVersionList.cpp +++ b/api/logic/minecraft/MinecraftVersionList.cpp @@ -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; diff --git a/api/logic/minecraft/VersionFilterData.cpp b/api/logic/minecraft/VersionFilterData.cpp index 0c4a6e3d..60c64473 100644 --- a/api/logic/minecraft/VersionFilterData.cpp +++ b/api/logic/minecraft/VersionFilterData.cpp @@ -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) diff --git a/api/logic/minecraft/VersionFilterData.h b/api/logic/minecraft/VersionFilterData.h index f7d4ebe7..f4213e1a 100644 --- a/api/logic/minecraft/VersionFilterData.h +++ b/api/logic/minecraft/VersionFilterData.h @@ -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 |