Merge pull request #541 from zkitefly/fix/launcher-helper-npe
修复 LauncherHelper NPE 问题
This commit is contained in:
commit
294ceb8591
|
@ -198,7 +198,7 @@ public final class LauncherHelper {
|
||||||
launchingStepsPane.dismiss();
|
launchingStepsPane.dismiss();
|
||||||
if (!success) {
|
if (!success) {
|
||||||
Exception ex = executor.getException();
|
Exception ex = executor.getException();
|
||||||
if (!(ex instanceof CancellationException)) {
|
if (ex != null && !(ex instanceof CancellationException)) {
|
||||||
Schedulers.androidUIThread().execute(() -> {
|
Schedulers.androidUIThread().execute(() -> {
|
||||||
String message;
|
String message;
|
||||||
if (ex instanceof ModpackCompletionException) {
|
if (ex instanceof ModpackCompletionException) {
|
||||||
|
|
Loading…
Reference in New Issue