Fix Textfield

This commit is contained in:
Kam committed 2026-02-19 16:11:34 -05:00
1 parent a94219cd0d
commit bb7791c691
1 file changed
+1 -1
@@ -69,7 +69,7 @@ public class GuiNpcTextField extends GuiTextField {
@Override
public boolean textboxKeyTyped(char c, int i) {
if (!canEdit)
if (!canEdit || !isFocused())
return false;
// Allow Ctrl shortcuts (select all, copy, paste, cut) to bypass char filter
if (GuiScreen.isCtrlKeyDown()) {