mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 11:09:42 +00:00
GuiContainerNPCInterface, GuiNPCInterface, GuiNpcMenu all disable repeat key events when closed like all other GUIs now.
The keyEvent scripted event no longer detects repeat held key presses.
This commit is contained in:
1 parent
5c9424bac8
commit
09f76d84c4
7 files changed
+25
-23
No files matched your search
@@ -155,6 +155,7 @@ public abstract class GuiNPCInterface extends GuiScreen
|
||||
GuiNpcTextField.unfocus();
|
||||
}
|
||||
public void close(){
|
||||
Keyboard.enableRepeatEvents(false);
|
||||
displayGuiScreen(null);
|
||||
mc.setIngameFocus();
|
||||
save();
|
||||
|
||||
Reference in new issue
Block a user