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