summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-10-25 22:48:58 +0200
committerPetr Mrázek <peterix@gmail.com>2017-10-25 22:48:58 +0200
commit170bd677fdc65f14221e2699c046158919cab89d (patch)
tree112f4a46004f8ed21e9a6b050499f5c418a0d313
parent84e23e2e7ae6763c86943a4e5c37a14aca35cabb (diff)
downloadMultiMC-170bd677fdc65f14221e2699c046158919cab89d.tar
MultiMC-170bd677fdc65f14221e2699c046158919cab89d.tar.gz
MultiMC-170bd677fdc65f14221e2699c046158919cab89d.tar.lz
MultiMC-170bd677fdc65f14221e2699c046158919cab89d.tar.xz
MultiMC-170bd677fdc65f14221e2699c046158919cab89d.zip
GH-2026 blacklist new Minecraft snapshots and releases0.5.2
-rw-r--r--api/logic/minecraft/MinecraftVersionList.cpp13
-rw-r--r--changelog.md17
2 files changed, 27 insertions, 3 deletions
diff --git a/api/logic/minecraft/MinecraftVersionList.cpp b/api/logic/minecraft/MinecraftVersionList.cpp
index 2c9a8035..67528fc5 100644
--- a/api/logic/minecraft/MinecraftVersionList.cpp
+++ b/api/logic/minecraft/MinecraftVersionList.cpp
@@ -289,9 +289,21 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s
// OneSix or Legacy. use filter to determine type
if (versionTypeStr == "release")
{
+ if(versionID.startsWith("1.13"))
+ {
+ qCritical() << "Ignoring" << versionID
+ << "because it is too new and not compatible.";
+ continue;
+ }
}
else if (versionTypeStr == "snapshot") // It's a snapshot... yay
{
+ if(mcVersion->m_releaseTime.currentSecsSinceEpoch() >= 1508942630)
+ {
+ qCritical() << "Ignoring" << versionID
+ << "because it is too new and not compatible.";
+ continue;
+ }
}
else if (versionTypeStr == "old_alpha")
{
@@ -308,6 +320,7 @@ void MinecraftVersionList::loadMojangList(QJsonDocument jsonDoc, VersionSource s
mcVersion->m_type = versionTypeStr;
qDebug() << "Loaded version" << versionID << "from"
<< ((source == VersionSource::Remote) ? "remote" : "local") << "version list.";
+ qDebug() << "Loaded version timestamp: " << mcVersion->m_releaseTime;
tempList.append(mcVersion);
}
updateListData(tempList);
diff --git a/changelog.md b/changelog.md
index 6d366c49..9748914f 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,18 @@
-# MultiMC 0.5.1
+# MultiMC 0.5.2
-## Improvements
+## Internals
+
+- GH-2026: New Minecraft snapshots are not compatible.
+
+ The temporary solution is blocking of new Minecraft snapshots and versions.
+
+ A future release will add full compatibility.
+
+# Previous releases
+
+## MultiMC 0.5.1
+
+### Improvements
- Log uploads now use HTTPS because the [paste.ee](https://paste.ee) site is switching to HTTPS only.
@@ -43,7 +55,6 @@
The instance type of the copy was not set, causing it to not be usable.
-# Previous releases
## MultiMC 0.5.0