From a9a19661ce38a7208ff4c86777f4accb4e495bfb Mon Sep 17 00:00:00 2001 From: alexia Date: Sat, 16 Dec 2023 13:12:23 +0100 Subject: Fixes for pet level up check (#805) Fixed pet level up check in /ff. #805 --- .../skyhanni/features/garden/fortuneguide/CaptureFarmingGear.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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 -- cgit