aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2023-12-16 13:12:23 +0100
committerGitHub <noreply@github.com>2023-12-16 13:12:23 +0100
commita9a19661ce38a7208ff4c86777f4accb4e495bfb (patch)
tree3c83bd949a8d509ec8a42d594ab3c72ef02becbb /src/main/java/at/hannibal2/skyhanni
parente44edc3789f6610efa8eab07bc91b3aecc0bf7a6 (diff)
downloadskyhanni-a9a19661ce38a7208ff4c86777f4accb4e495bfb.tar.gz
skyhanni-a9a19661ce38a7208ff4c86777f4accb4e495bfb.tar.bz2
skyhanni-a9a19661ce38a7208ff4c86777f4accb4e495bfb.zip
Fixes for pet level up check (#805)
Fixed pet level up check in /ff. #805
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
index 04fc38a6e..f9cafd982 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt
@@ -240,7 +240,7 @@ class CaptureFarmingGear {
}
}
petLevelUpPattern.matchMatcher(msg) {
- val pet = group("pet").uppercase()
+ val pet = group("pet").uppercase().replace("✦", "").trim().replace(" ", "_")
for (item in FarmingItems.entries) {
if (item.name.contains(pet)) {
outdatedItems[item] = true