aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-02 09:28:05 +0200
committerGitHub <noreply@github.com>2024-05-02 09:28:05 +0200
commite26deff1ee5ed11be9ac128ca8b447eadcec2f1c (patch)
treefffdda46848b179a4a1294c9191e388205b792e4 /src
parent2fe944ca32cd080945f52afd80b33f2ed8e7ef43 (diff)
downloadskyhanni-e26deff1ee5ed11be9ac128ca8b447eadcec2f1c.tar.gz
skyhanni-e26deff1ee5ed11be9ac128ca8b447eadcec2f1c.tar.bz2
skyhanni-e26deff1ee5ed11be9ac128ca8b447eadcec2f1c.zip
Fix: Pest Profit Tracker (#1624)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestProfitTracker.kt3
1 files changed, 2 insertions, 1 deletions
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! (?:§.)*(?<item>.+) §6\\(§6\\+.*☘\\)"
+ "§6§l(?:RARE|PET) DROP! (?:§r)?(?<item>.+) §6\\(§6\\+.*☘\\)"
)
private var lastPestKillTime = SimpleTimeMark.farPast()