mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-14 04:32:14 +00:00
GH-2026 blacklist new Minecraft snapshots and releases
This commit is contained in:
@@ -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);
|
||||
|
||||
17
changelog.md
17
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user