Fix: keep not completed Curse modpack game version

This commit is contained in:
huanghongxun
2019-10-10 16:39:27 +08:00
parent 529c4ed420
commit 944d88b8af
2 changed files with 7 additions and 4 deletions

View File

@@ -107,9 +107,6 @@ public final class ModpackHelper {
if (ex instanceof CurseCompletionException && !(ex.getCause() instanceof FileNotFoundException)) {
success.run();
// This is tolerable and we will not delete the game
} else {
HMCLGameRepository repository = profile.getRepository();
repository.removeVersionFromDisk(name);
}
};