diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2023-09-28 08:29:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 08:29:05 +0200 |
commit | 61f1122c93e9baa17c048c5e94ce32ddee22c03b (patch) | |
tree | fe8fdcb59c8a37f9957502167f3d8aadee6c04ae /src/main/java | |
parent | f34defd6c42f762ce8eaf753998139e8b2714b0e (diff) | |
download | skyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.tar.gz skyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.tar.bz2 skyhanni-61f1122c93e9baa17c048c5e94ce32ddee22c03b.zip |
Change: Croesus Chest Tracker can now determine chest that only can be open with a dungeon key (#507)
Croesus chest highlight uses different colors for Kismet only chests. #507
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusUnopenedChestTracker.kt | 6 |
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 + } } } } |