mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 01:02:19 +00:00
Work on Player Event Script GUIs
This commit is contained in:
1 parent
44bd1692d1
commit
6aa98aecf3
8 files changed
+40
-14
No files matched your search
@@ -109,7 +109,7 @@ public abstract class GuiContainerNPCInterface extends GuiContainer
|
||||
for(GuiNpcTextField tf : new ArrayList<GuiNpcTextField>(textfields.values()))
|
||||
tf.textboxKeyTyped(c, i);
|
||||
|
||||
if (closeOnEsc && (i == 1 || i == mc.gameSettings.keyBindInventory.getKeyCode() && !GuiNpcTextField.isActive()))
|
||||
if (closeOnEsc && (i == 1 || i == mc.gameSettings.keyBindInventory.getKeyCode() && !GuiNpcTextField.isFieldActive()))
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user