介绍
MC-122477 Fix
This mod fixes MC-122477 Linux/GNU: Opening chat sometimes writes ‘t’.
Bug
The bug is caused by an upstream bug in GLFW tracked at GLFW#1794. When the “Open Chat” keybind is pressed the next glfwPollEvents() call should fire a KeyCallback and a CharCallback for the key. Due to the bug the CharCallback isnt fired immediately and instead fires at the next but one glfwPollEvents() call. At this time the ChatScreen might already be open and the character associated with the “Open Chat” keybind (often a “t” is typed into the chat).
Fix
This mod simply cancels the next CharCallback that appears one to three glfwPollEvents() calls after the “Open Chat” or “Open Command” keybind is pressed (only if the chat is actually opened).
常见问题
MC-122477 Fix 支持哪些 Minecraft 版本?
MC-122477 Fix 支持 Minecraft Java 版 1.21.11–26.2,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
MC-122477 Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分