aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-30 18:30:32 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-30 18:30:32 +0100
commit3fab9ffd8d706f44364f2c5b8cf780287b45e36d (patch)
treec29071b50c4bb28e513c0c4cf88bea1496bb0146 /src/main/java/at
parentab0cb07f2fdc4b3f723c4560bbbada258d5dd246 (diff)
downloadskyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.tar.gz
skyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.tar.bz2
skyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.zip
Fixed item rarity detection for pets.
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
index d39587d4d..2c5ab63d3 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -212,7 +212,9 @@ object ItemUtils {
if (isPet(cleanName())) {
- return getPetRarity(this)
+ val petRarity = getPetRarity(this)
+ data.itemRarity = petRarity
+ return petRarity
}
val rarity = LorenzRarity.readItemRarity(this)