aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-03 13:59:31 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-03 13:59:31 +0200
commit0cfce2e3de75b9631cd75318477e3f71ec61a05a (patch)
tree1cf03885c3d474928d8089afc54321faa6456abf /src/main/java/at/hannibal2/skyhanni/features
parent649f3b836518f242fc3aa1b4301d25bfc7d50049 (diff)
downloadskyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.tar.gz
skyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.tar.bz2
skyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.zip
made croesus great again
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt5
1 files changed, 2 insertions, 3 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 20d7207f0..c27b1a447 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt
@@ -23,13 +23,12 @@ class CroesusUnopenedChestTracker {
for (slot in InventoryUtils.getItemsInOpenChest()) {
val stack = slot.stack
val lore = stack.getLore()
- if (lore.any { it.contains("Click to view") }) {
- if (!lore.any { it.contains("Chests have been opened!") }) {
+ if ("§eClick to view chests!" in lore) {
+ if ("§aNo more Chests to open!" !in lore) {
slot highlight LorenzColor.DARK_PURPLE
}
}
}
}
-
}
} \ No newline at end of file