mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 19:58:35 +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.minusButton.active = this.requestAmount > 1;
|
||||||
|
|
||||||
this.search.tick();
|
this.search.tick();
|
||||||
|
if (this.items != null) {
|
||||||
String text = this.search.getText();
|
String text = this.search.getText();
|
||||||
if (!this.lastSearchText.equals(text)) {
|
if (!this.lastSearchText.equals(text)) {
|
||||||
this.lastSearchText = text;
|
this.lastSearchText = text;
|
||||||
this.updateWidgets();
|
this.updateWidgets();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean keyPressed(int x, int y, int z) {
|
public boolean keyPressed(int x, int y, int z) {
|
||||||
|
|
Loading…
Reference in a new issue