From faf22b5dd9d655f4f70beb7d1463025982ae734b Mon Sep 17 00:00:00 2001 From: SeRaid <77941535+SeRaid743@users.noreply.github.com> Date: Wed, 24 Apr 2024 04:08:29 +1200 Subject: Fix storage overlay opening for non storage menus (#1097) --- .../github/moulberry/notenoughupdates/miscfeatures/StorageManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java index 48968e29..c2c121fa 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java @@ -350,7 +350,7 @@ public class StorageManager { return true; } - shouldRenderStorageOverlayCached = containerName != null && containerName.trim().startsWith("Storage"); + shouldRenderStorageOverlayCached = containerName != null && containerName.trim().equals("Storage"); isStorageOpen = shouldRenderStorageOverlayCached; return shouldRenderStorageOverlayCached; } -- cgit