Update exitCode (#2500)
This commit is contained in:
@@ -832,7 +832,7 @@ public final class LauncherHelper {
|
|||||||
@Override
|
@Override
|
||||||
public void onExit(int exitCode, ExitType exitType) {
|
public void onExit(int exitCode, ExitType exitType) {
|
||||||
if (showLogs) {
|
if (showLogs) {
|
||||||
Platform.runLater(() -> logWindow.logLine(String.format("[HMCL ProcessListener] Minecraft exit with code %d.", exitCode), Log4jLevel.INFO));
|
Platform.runLater(() -> logWindow.logLine(String.format("[HMCL ProcessListener] Minecraft exit with code %d(0x%x).", exitCode, exitCode), Log4jLevel.INFO));
|
||||||
}
|
}
|
||||||
|
|
||||||
launchingLatch.countDown();
|
launchingLatch.countDown();
|
||||||
|
|||||||
Reference in New Issue
Block a user