跳到正文

ForceExitOnShutdown

作者:Lumine1909

Fix minecraft crash on shutdown due to watchdog killing non-daemon thread by adding System.exit(0)

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

ForceExitOnShutdown

Fix minecraft crash on shutdown due to watchdog killing non-daemon thread by adding System.exit(0)

Minecraft do not execute System.exit(0); on exit anymore, so all the mods that do not clean up non-daemon executors by themselves will prevent the minecraft from fully close. Then the watchdog will kill minecraft and generate a crash.

This mod is used to fix this problem, by adding force exit as older version (26.2-) did.

Important

This may cause problem, since I don’t know why mojang eventually remove that exit code.

USE AT YOUR OWN RISK!

常见问题

ForceExitOnShutdown 支持哪些 Minecraft 版本?

ForceExitOnShutdown 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ForceExitOnShutdown 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Lumine1909 的其他作品

查看全部 →