修复 LauncherHelper NPE 问题

This commit is contained in:
Zkitefly 2024-08-23 02:01:25 +00:00
parent d507998e79
commit d4b0344b4d
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ public final class LauncherHelper {
launchingStepsPane.dismiss();
if (!success) {
Exception ex = executor.getException();
if (!(ex instanceof CancellationException)) {
if (ex != null && !(ex instanceof CancellationException)) {
Schedulers.androidUIThread().execute(() -> {
String message;
if (ex instanceof ModpackCompletionException) {