aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
index 8f11f5c7..83e4b703 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java
@@ -173,6 +173,8 @@ public class SlotLocking {
String openChestName = Utils.getOpenChestName();
if (openChestName.trim().equals("Storage")) return null;
+ openChestName = Utils.cleanColour(openChestName);
+
Matcher matcher = WINDOW_REGEX.matcher(openChestName);
Matcher matcherEchest = ECHEST_WINDOW_REGEX.matcher(openChestName);