mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-04 03:46:57 -04:00
Fix: NPE in LauncherHelper. (#3160)
This commit is contained in:
parent
816a8539ea
commit
1e472ea463
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user