This commit is contained in:
huanghongxun
2020-03-22 13:12:39 +08:00
parent 516c73ee15
commit e166651fe7

View File

@@ -74,8 +74,10 @@ public class GameInstallTask extends Task<Version> {
Task.allOf(
new GameAssetDownloadTask(dependencyManager, version, GameAssetDownloadTask.DOWNLOAD_INDEX_FORCIBLY, true),
new GameLibrariesTask(dependencyManager, version, true)
).withStage("hmcl.install.assets")
).withComposeAsync(gameRepository.save(version)));
).withStage("hmcl.install.assets").withRunAsync(() -> {
// ignore failure
})
).thenComposeAsync(gameRepository.save(version)));
}
}