diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-03 13:59:31 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-03 13:59:31 +0200 |
commit | 0cfce2e3de75b9631cd75318477e3f71ec61a05a (patch) | |
tree | 1cf03885c3d474928d8089afc54321faa6456abf | |
parent | 649f3b836518f242fc3aa1b4301d25bfc7d50049 (diff) | |
download | skyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.tar.gz skyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.tar.bz2 skyhanni-0cfce2e3de75b9631cd75318477e3f71ec61a05a.zip |
made croesus great again
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt | 5 |
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 |