diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-30 18:30:32 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-30 18:30:32 +0100 |
commit | 3fab9ffd8d706f44364f2c5b8cf780287b45e36d (patch) | |
tree | c29071b50c4bb28e513c0c4cf88bea1496bb0146 /src/main | |
parent | ab0cb07f2fdc4b3f723c4560bbbada258d5dd246 (diff) | |
download | skyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.tar.gz skyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.tar.bz2 skyhanni-3fab9ffd8d706f44364f2c5b8cf780287b45e36d.zip |
Fixed item rarity detection for pets.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt | 4 |
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) |