From ca875b3cd4b0806b39cad5a9921e29bbffa0d840 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Sun, 28 Jul 2024 21:52:34 +1000 Subject: Fix disable slot locking in storage not working in backpacks (#1273) --- .../io/github/moulberry/notenoughupdates/miscfeatures/SlotLocking.java | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit