bank: block bank pin going to chatbox

With invokeLater() now running next tick instead of next frame, with uncapped fps there can be several frames with the bank pin visible in the chatbox. This blocks the keyboard input on this tick, preventing having to clear the chatbox later.
This commit is contained in:
Adam
2021-11-01 14:28:50 -04:00
parent 9c11d2101a
commit 87e51bd960
2 changed files with 9 additions and 12 deletions

View File

@@ -62,6 +62,11 @@ public enum VarClientInt
INVENTORY_TAB(171),
/**
* time to block keypresses til
*/
BLOCK_KEYPRESS(187),
WORLD_MAP_SEARCH_FOCUSED(190);
private final int index;