Jump to content

perrisvk

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by perrisvk

  1. I have keybinding for key L. flush = new KeyBinding("flush", Keyboard.KEY_L, "misc"); ... ClientRegistry.registerKeyBinding(flush); Ingame it's working fine, but when I open inventory or chest the bind is not working. I'm checking `InputEvent.KeyInputEvent` event with `flush.isKeyDown()` and `flush.isPressed()`. When I open inventory, the event is not fired. I tried `PlayerTickEvent` with isKeyDown and isPressed, but it seems not to update the keybind while the inventory is open. I tried reverse inventory tweaks (key R sort the inv, even when it's open), but I achieved no progress. What should I use to check, if the key was pressed when inventory is open?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.