mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 12:39:05 +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
@@ -144,7 +144,7 @@ public abstract class GuiNPCInterface extends GuiScreen
|
||||
for(GuiNpcTextField tf : textfields.values())
|
||||
tf.textboxKeyTyped(c, i);
|
||||
|
||||
if (closeOnEsc && (i == 1 || !GuiNpcTextField.isActive() && isInventoryKey(i))){
|
||||
if (closeOnEsc && (i == 1 || !GuiNpcTextField.isFieldActive() && isInventoryKey(i))){
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user