diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-21 01:55:56 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-21 01:55:56 +0100 |
commit | 20137951c22863503b1ffe0bc6eada76830cfc06 (patch) | |
tree | c020cd2fc5842e4133072d8dcf5ed5c85ec7f0da /src/main/java/at | |
parent | b6d939ade1289e7e6170ceaeaaa03658e1439283 (diff) | |
download | skyhanni-20137951c22863503b1ffe0bc6eada76830cfc06.tar.gz skyhanni-20137951c22863503b1ffe0bc6eada76830cfc06.tar.bz2 skyhanni-20137951c22863503b1ffe0bc6eada76830cfc06.zip |
Fixed Hide Healer Fairy not working anymore.
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt | 3 |
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 } |