Files
OpenZen/src/main
Shirona1337 eadd525e83 fix(modules): gate keybind toggles on mc.screen == null
Module keybinds used to fire while ChatScreen, PauseScreen or any
other UI was open, so typing a chat message or being in the pause
menu would silently toggle modules whose bind happened to match a
key in the text.

Skip the keybind scan in onKey() unless mc.screen is null, matching
vanilla's "no GUI" gating used elsewhere.

Fixes #19

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 10:16:10 +08:00
..