diff options
-rw-r--r-- | api/logic/minecraft/MinecraftVersionList.cpp | 13 | ||||
-rw-r--r-- | changelog.md | 17 |
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 |