aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeRaid <77941535+SeRaid743@users.noreply.github.com>2024-04-24 04:08:29 +1200
committerGitHub <noreply@github.com>2024-04-23 18:08:29 +0200
commitfaf22b5dd9d655f4f70beb7d1463025982ae734b (patch)
tree17360a27582bf35309de972ea1b00537edae96da
parent5883de1f3f1c3fa7c0eba411b0131ba2733dbf7f (diff)
downloadNotEnoughUpdates-faf22b5dd9d655f4f70beb7d1463025982ae734b.tar.gz
NotEnoughUpdates-faf22b5dd9d655f4f70beb7d1463025982ae734b.tar.bz2
NotEnoughUpdates-faf22b5dd9d655f4f70beb7d1463025982ae734b.zip
Fix storage overlay opening for non storage menus (#1097)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/StorageManager.java2
1 files changed, 1 insertions, 1 deletions
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;
}