aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
index c27b1a447..5224edd79 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
@@ -25,7 +25,11 @@ class CroesusUnopenedChestTracker {
val lore = stack.getLore()
if ("§eClick to view chests!" in lore) {
if ("§aNo more Chests to open!" !in lore) {
- slot highlight LorenzColor.DARK_PURPLE
+ slot highlight if (lore.any { it.contains("Opened Chest") }) {
+ LorenzColor.DARK_AQUA
+ } else {
+ LorenzColor.DARK_PURPLE
+ }
}
}
}