修复 LauncherHelper NPE 问题
This commit is contained in:
parent
d507998e79
commit
d4b0344b4d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue