aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
index 801b28ab4..e654fc4a9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
@@ -150,7 +150,8 @@ class DungeonHideItems {
}
if (config.hideHealerFairy) {
- if (skullTexture == healerFairyTexture) {
+ // Healer Fairy texture is stored in id 0, not id 4 for some reasos.
+ if (entity.inventory[0]?.getSkullTexture() == healerFairyTexture) {
event.isCanceled = true
return
}