mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 16:12:17 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
d397cabd51
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()) {
|
||||
|
||||
Reference in new issue
Block a user