From 3fab9ffd8d706f44364f2c5b8cf780287b45e36d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 30 Oct 2023 18:30:32 +0100 Subject: Fixed item rarity detection for pets. --- src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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) -- cgit