aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Cole <40234707+DavidArthurCole@users.noreply.github.com>2024-06-08 20:10:15 -0400
committerGitHub <noreply@github.com>2024-06-09 10:10:15 +1000
commit60db3c691013f5afbb141110c284ac2adffcdda4 (patch)
tree8acc06cd56c311133fd64311303c9140be055993 /src
parent7e1dc04af29539cc6183a3a92d116272ff79b750 (diff)
downloadskyhanni-60db3c691013f5afbb141110c284ac2adffcdda4.tar.gz
skyhanni-60db3c691013f5afbb141110c284ac2adffcdda4.tar.bz2
skyhanni-60db3c691013f5afbb141110c284ac2adffcdda4.zip
Fix: Compact Pattern Matching on Legendary+ Rabbits (#2041)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt
index 39804a6f6..800167460 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt
@@ -60,7 +60,7 @@ object HoppityEggsManager {
*/
val newRabbitFound by ChocolateFactoryAPI.patternGroup.pattern(
"rabbit.found.new",
- "§d§lNEW RABBIT! §6\\+(?<chocolate>.*) Chocolate §7and §6\\+(?<perSecond>.*)x Chocolate §7per second!"
+ "§d§lNEW RABBIT! (§6\\+(?<chocolate>.*) Chocolate §7and )?§6\\+(?<perSecond>.*)x Chocolate §7per second!"
)
private val noEggsLeftPattern by ChocolateFactoryAPI.patternGroup.pattern(
"egg.noneleft",