From 0cfce2e3de75b9631cd75318477e3f71ec61a05a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:59:31 +0200 Subject: made croesus great again --- .../skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2') 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 -- cgit