aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-23 17:23:36 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-23 17:23:36 +0200
commit8d979f9aa3c1dedb6eec3e0ec94e41462224655e (patch)
tree469a73ad14a7ef0d267cb07efa1585fc2b1e826f /src/main/java/at/hannibal2/skyhanni
parent586c74a13daac4901ee58005aa4739193a7da5bd (diff)
downloadskyhanni-8d979f9aa3c1dedb6eec3e0ec94e41462224655e.tar.gz
skyhanni-8d979f9aa3c1dedb6eec3e0ec94e41462224655e.tar.bz2
skyhanni-8d979f9aa3c1dedb6eec3e0ec94e41462224655e.zip
Fixed wrongly highlighting enchanted sacks for reputation helper fetch quests.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt2
1 files changed, 2 insertions, 0 deletions
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
}