From 60db3c691013f5afbb141110c284ac2adffcdda4 Mon Sep 17 00:00:00 2001 From: David Cole <40234707+DavidArthurCole@users.noreply.github.com> Date: Sat, 8 Jun 2024 20:10:15 -0400 Subject: Fix: Compact Pattern Matching on Legendary+ Rabbits (#2041) --- .../at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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 §7and §6\\+(?.*)x Chocolate §7per second!" + "§d§lNEW RABBIT! (§6\\+(?.*) Chocolate §7and )?§6\\+(?.*)x Chocolate §7per second!" ) private val noEggsLeftPattern by ChocolateFactoryAPI.patternGroup.pattern( "egg.noneleft", -- cgit