aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-05-29 00:03:52 +1000
committerGitHub <noreply@github.com>2024-05-29 00:03:52 +1000
commit00013413f63de6ce628a1060c792cdbb7f324042 (patch)
tree48e283a67d1e606beefbe31a1e068f71874b9af0 /src/main/java/at
parentc09e75a41d628d6c90e0294e06ce8c26ed496405 (diff)
downloadskyhanni-00013413f63de6ce628a1060c792cdbb7f324042.tar.gz
skyhanni-00013413f63de6ce628a1060c792cdbb7f324042.tar.bz2
skyhanni-00013413f63de6ce628a1060c792cdbb7f324042.zip
fix not found rabbit pattern (#1906)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt
index a078ea9d2..ef4504239 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt
@@ -36,9 +36,14 @@ object HoppityCollectionStats {
"duplicates.found",
"§7Duplicates Found: §a(?<duplicates>[\\d,]+)"
)
+
+ /**
+ * REGEX-TEST: §7§8You cannot find this rabbit until you
+ * REGEX-TEST: §7§8You have not found this rabbit yet!
+ */
private val rabbitNotFoundPattern by patternGroup.pattern(
"rabbit.notfound",
- "(?:§.)+You have not found this rabbit yet!"
+ "(?:§.)+You (?:have not found this rabbit yet!|cannot find this rabbit until you)"
)
private val rabbitsFoundPattern by patternGroup.pattern(
"rabbits.found",