Commit Graph

3 Commits

Author SHA1 Message Date
b38dc29f76 Rewrote OnClientInputEventHandler.
It now keeps track of whether any of configurable keys is pressed in or not. It also will now check whether any of the pressed keys are allowed or not before updating last input tick and sending an input packet. This was done to fix the issue of GLFW_REPEAT stopping after another key is typed. This will prevent a player from going afk while still moving after jumping etc.
2022-06-06 13:04:52 +01:00
c03ef11d22 Fixed client not sending input packets when the key is not allowed. 2022-05-24 02:17:51 +01:00
213cc1604e Renamed and reworked the OnClientInputEventHandler to prevent pointless packets from being sent and for it to work with the afk allowed keys too. 2022-05-22 03:16:58 +01:00