From 9644d1b0c9149901cbf3963b475530d52077909f Mon Sep 17 00:00:00 2001 From: noil Date: Mon, 7 Dec 2020 13:18:25 -0500 Subject: [PATCH] Remove Q closing from module settings --- .../impl/gui/hud/component/module/ModuleListComponent.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/module/ModuleListComponent.java b/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/module/ModuleListComponent.java index 1007537..14ad70f 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/module/ModuleListComponent.java +++ b/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/module/ModuleListComponent.java @@ -267,10 +267,6 @@ public final class ModuleListComponent extends ResizableHudComponent { public void keyTyped(char typedChar, int keyCode) { super.keyTyped(typedChar, keyCode); - if (keyCode == Keyboard.KEY_Q) { - this.currentSettings = null; - } - if (this.currentSettings != null) { this.currentSettings.keyTyped(typedChar, keyCode); }