aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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)