Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Minecraft's keypress handler first runs key event listeners for any open GUI, and then after that it checks runs key binding listeners for the ingame stuff (but only if there's no GUI open).
What was happening was we would handle they key even once (and toggle off clickgui) but then no GUI was open so it would immediately handle the key event again (for ingame stuff) and toggle clickgui back on!
This should be fixed in the next version.