From e26deff1ee5ed11be9ac128ca8b447eadcec2f1c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Thu, 2 May 2024 09:28:05 +0200 Subject: Fix: Pest Profit Tracker (#1624) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt index bad0003d6..425d710e8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt @@ -31,10 +31,11 @@ object PestProfitTracker { /** * REGEX-TEST: §6§lRARE DROP! §9Mutant Nether Wart §6(§6+1,344☘) * REGEX-TEST: §6§lPET DROP! §r§5Slug §6(§6+1300☘) + * REGEX-TEST: §6§lPET DROP! §r§6Slug §6(§6+1300☘) */ private val pestRareDropPattern by patternGroup.pattern( "raredrop", - "§6§l(?:RARE|PET) DROP! (?:§.)*(?.+) §6\\(§6\\+.*☘\\)" + "§6§l(?:RARE|PET) DROP! (?:§r)?(?.+) §6\\(§6\\+.*☘\\)" ) private var lastPestKillTime = SimpleTimeMark.farPast() -- cgit