diff options
Diffstat (limited to 'src/client/java/dev/isxander/yacl/gui')
-rw-r--r-- | src/client/java/dev/isxander/yacl/gui/SearchFieldWidget.java | 2 |
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 103831d..1277c21 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; |