alt: no longer show failure installation of curse modpack

This commit is contained in:
huanghongxun
2020-03-03 12:47:10 +08:00
parent d333f54430
commit 7260ae9b5e

View File

@@ -116,7 +116,7 @@ public class ModpackInstallWizardProvider implements WizardProvider {
if (exception.getCause() instanceof FileNotFoundException) { if (exception.getCause() instanceof FileNotFoundException) {
Controllers.dialog(i18n("modpack.type.curse.not_found"), i18n("install.failed"), MessageType.ERROR, next); Controllers.dialog(i18n("modpack.type.curse.not_found"), i18n("install.failed"), MessageType.ERROR, next);
} else { } else {
Controllers.dialog(i18n("modpack.type.curse.tolerable_error"), i18n("install.success"), MessageType.INFORMATION, next); Controllers.dialog(i18n("install.success"), i18n("install.success"), MessageType.INFORMATION, next);
} }
} else { } else {
InstallerWizardProvider.alertFailureMessage(exception, next); InstallerWizardProvider.alertFailureMessage(exception, next);