Micle ff22422492 OnClientInputEventHandler:
- Added more comments.
- Renamed variable isHotbarPressed to isHotBarPressed.
- Extracted checking if the screen is allowed into its own method.
- Extracted updating last input tick and sending an InputPacket into its own method.
- When a monitored key is pressed, it now checks if the screen along with the key are not allowed before calling updateAndNotify().

All of the above changes fixed the issue of being able to close inventory while afk when inventory is not allowed along with clicking the button to unpause the game ending the "Joining" and "AFK" states.
2022-10-20 23:41:51 +01:00
2022-01-19 16:36:39 +00:00
2022-10-20 23:41:51 +01:00
2022-01-19 16:36:39 +00:00
2022-05-24 02:16:07 +01:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
2022-01-19 16:36:39 +00:00
Description
Protects joining and afk players on your server from harm!
300 MiB
Languages
Java 100%