修复通过自动安装更新游戏时的崩溃 (#1662)
* fix game upgrade * fix #1459: Invalidate the version number cache before saving the version close #1566
This commit is contained in:
@@ -488,6 +488,7 @@ public class DefaultGameRepository implements GameRepository {
|
||||
}
|
||||
|
||||
public Task<Version> saveAsync(Version version) {
|
||||
this.gameVersions.remove(getVersionJar(version));
|
||||
if (version.isResolvedPreservingPatches()) {
|
||||
return new VersionJsonSaveTask(this, MaintainTask.maintainPreservingPatches(this, version));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user