aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java b/src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java
index 72cf549..5cf38e0 100644
--- a/src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java
+++ b/src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java
@@ -15,7 +15,7 @@ public class SearchFieldWidget extends EditBox {
public SearchFieldWidget(YACLScreen yaclScreen, Font font, int x, int y, int width, int height, Component text, Component emptyText) {
super(font, x, y, width, height, text);
setResponder(string -> update());
- setFilter(string -> !string.endsWith(" ") && !string.startsWith(" "));
+ setFilter(string -> !string.endsWith(" ") && !string.startsWith(" "));
this.yaclScreen = yaclScreen;
this.font = font;
this.emptyText = emptyText;