Update exitCode (#2500)

This commit is contained in:
zkitefly
2023-12-31 21:49:56 +08:00
committed by GitHub
parent 1d9d31f906
commit c7fad05bae

View File

@@ -832,7 +832,7 @@ public final class LauncherHelper {
@Override
public void onExit(int exitCode, ExitType exitType) {
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();