Work on Player Event Script GUIs

This commit is contained in:
luisc committed 2021-10-02 08:47:13 -05:00
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();
}
}