mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 23:39:22 +01:00
parent
a026cfc550
commit
718cef5c4e
1 changed files with 6 additions and 4 deletions
|
@ -112,10 +112,12 @@ public class ItemTerminalGui extends ContainerScreen<ItemTerminalContainer> {
|
|||
this.minusButton.active = this.requestAmount > 1;
|
||||
|
||||
this.search.tick();
|
||||
String text = this.search.getText();
|
||||
if (!this.lastSearchText.equals(text)) {
|
||||
this.lastSearchText = text;
|
||||
this.updateWidgets();
|
||||
if (this.items != null) {
|
||||
String text = this.search.getText();
|
||||
if (!this.lastSearchText.equals(text)) {
|
||||
this.lastSearchText = text;
|
||||
this.updateWidgets();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue