修复 #3099 自动安装选项卡重新选择版本(Minecraft版本和模组加载器版本)的按钮消失的问题 (#3117)

* Fix #3099

* Fix: checkstyle

* Fix.

* Fix #3144

* Update

* Fix bugs.

* Change I18N

* Fix #3164

* Delete State.SEALED

* fix typo

---------

Co-authored-by: Glavo <zjx001202@gmail.com>
This commit is contained in:
Burning_TNT
2024-07-28 02:41:08 +08:00
committed by GitHub
parent 6f7c922ac0
commit e8306ea59a
16 changed files with 266 additions and 182 deletions

View File

@@ -296,8 +296,8 @@ public class Version implements Comparable<Version>, Validation {
}
if (patches == null) {
// This is a version from external launcher.
thisVersion = thisVersion.merge(this, true);
// This is a version from external launcher. NO need to resolve the patches.
return thisVersion;
} else if (!patches.isEmpty()) {
// Assume patches themselves do not have patches recursively.
List<Version> sortedPatches = patches.stream()