From b90bc26a68a3392d17f9f54dbe70ddc544b61fd3 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 11 Apr 2024 16:58:04 +0200 Subject: Fix /storage warning showing when searching (#1086) --- .../io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit