Fix: NPE in LauncherHelper. (#3160)
This commit is contained in:
@@ -241,7 +241,7 @@ public final class LauncherHelper {
|
|||||||
launchingStepsPane.fireEvent(new DialogCloseEvent());
|
launchingStepsPane.fireEvent(new DialogCloseEvent());
|
||||||
if (!success) {
|
if (!success) {
|
||||||
Exception ex = executor.getException();
|
Exception ex = executor.getException();
|
||||||
if (!(ex instanceof CancellationException)) {
|
if (ex != null && !(ex instanceof CancellationException)) {
|
||||||
String message;
|
String message;
|
||||||
if (ex instanceof ModpackCompletionException) {
|
if (ex instanceof ModpackCompletionException) {
|
||||||
if (ex.getCause() instanceof FileNotFoundException)
|
if (ex.getCause() instanceof FileNotFoundException)
|
||||||
|
|||||||
Reference in New Issue
Block a user