From 8d979f9aa3c1dedb6eec3e0ec94e41462224655e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 23 Sep 2023 17:23:36 +0200 Subject: Fixed wrongly highlighting enchanted sacks for reputation helper fetch quests. --- .../features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt index 76381a00a..423e8fd46 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt @@ -92,6 +92,8 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { if (slot == null) continue if (slot.slotNumber != slot.slotIndex) continue val stack = slot.stack ?: continue + if (stack.name!!.contains("Enchanted")) continue + if (stack.getLore().any { it.contains(fetchItem) }) { slot highlight LorenzColor.AQUA } -- cgit