mirror of
https://github.com/HMCL-dev/HMCL
synced 2026-08-19 22:23:08 -04:00
修复无法正确安装 MultiMC 整合包的问题 (#6584)
This commit is contained in:
parent
af71c71663
commit
af4d9feea5
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ public class MaintainTask extends Task<GameInstanceManifest> {
|
|||
if (!manifest.isResolvedPreservingPatches())
|
||||
throw new IllegalArgumentException("MaintainTask requires independent game version");
|
||||
GameInstanceManifest newVersion = maintain(repository, manifest.resolve(repository));
|
||||
return newVersion.withPatches(manifest.getPatches());
|
||||
return newVersion.patches() == null ? newVersion : newVersion.withPatches(manifest.getPatches());
|
||||
}
|
||||
|
||||
private static GameInstanceManifest maintainGameWithLaunchWrapper(GameRepository repository, GameInstanceManifest manifest, boolean reorderTweakClass) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue