diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-05-29 00:03:52 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 00:03:52 +1000 |
commit | 00013413f63de6ce628a1060c792cdbb7f324042 (patch) | |
tree | 48e283a67d1e606beefbe31a1e068f71874b9af0 /src/main/java/at/hannibal2/skyhanni | |
parent | c09e75a41d628d6c90e0294e06ce8c26ed496405 (diff) | |
download | skyhanni-00013413f63de6ce628a1060c792cdbb7f324042.tar.gz skyhanni-00013413f63de6ce628a1060c792cdbb7f324042.tar.bz2 skyhanni-00013413f63de6ce628a1060c792cdbb7f324042.zip |
fix not found rabbit pattern (#1906)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt | 7 |
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", |