aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java2
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,