mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:11:31 +01:00
fix
This commit is contained in:
parent
43672c6ce9
commit
738fcf83e2
@ -139,10 +139,13 @@ public class Input {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
String test = "";
|
||||
if (GuiScreen.isKeyComboCtrlV(keyCode))
|
||||
{
|
||||
setValue(GuiScreen.getClipboardString());
|
||||
test += GuiScreen.getClipboardString();
|
||||
if(this.pattern.matcher(test).matches()) {
|
||||
value += ChatAllowedCharacters.filterAllowedCharacters(test);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -150,8 +153,6 @@ public class Input {
|
||||
NotificationUtils.showNotification("Error", "Maximum " + name + " size " + maxLength + " characters");
|
||||
return;
|
||||
}
|
||||
|
||||
String test = "";
|
||||
test += typedChar;
|
||||
|
||||
if(this.pattern.matcher(test).matches()) {
|
||||
|
Loading…
Reference in New Issue
Block a user