diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-11 16:58:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 16:58:04 +0200 |
commit | b90bc26a68a3392d17f9f54dbe70ddc544b61fd3 (patch) | |
tree | df6fc0b4888c6eb442a82c34ac6e72de1c5d08b8 /src | |
parent | 22a4df292239b5d68e52e0e9679dfc4db2acc78f (diff) | |
download | NotEnoughUpdates-b90bc26a68a3392d17f9f54dbe70ddc544b61fd3.tar.gz NotEnoughUpdates-b90bc26a68a3392d17f9f54dbe70ddc544b61fd3.tar.bz2 NotEnoughUpdates-b90bc26a68a3392d17f9f54dbe70ddc544b61fd3.zip |
Fix /storage warning showing when searching (#1086)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java index 1c4bd867..4ca5e764 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java @@ -1205,7 +1205,7 @@ public class StorageOverlay extends GuiElement { ); } - if (StorageManager.getInstance().storageConfig.displayToStorageIdMapRender.isEmpty()) { + if (StorageManager.getInstance().storageConfig.displayToStorageIdMapRender.isEmpty() && searchBar.getText().isEmpty()) { Utils.drawStringScaledFillWidth( "Please open /storage instead of /ec", sizeX / 2, |