From 23073945bcba5f56f343106155634a57ae3f8549 Mon Sep 17 00:00:00 2001 From: David Cole <40234707+DavidArthurCole@users.noreply.github.com> Date: Fri, 26 Jul 2024 04:36:15 -0400 Subject: Fix: Stray Rabbit Production Time Tooltip (#2239) --- .../inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt index 87e197a96..d5cfb989d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt @@ -13,14 +13,14 @@ object ChocolateFactoryTooltipStray { private val config get() = ChocolateFactoryAPI.config /** - * REGEX-TEST: §7You gained §6+2,465,018 Chocolate§7! - * REGEX-TEST: §7gained §6+30,292 Chocolate§7! - * REGEX-TEST: §7§6+36,330 Chocolate§7! - * REGEX-TEST: §9Rabbit§7, so you received §655,935,257 + * REGEX-TEST: §5§o§7You gained §6+2,465,018 Chocolate§7! + * REGEX-TEST: §5§o§7gained §6+30,292 Chocolate§7! + * REGEX-TEST: §5§o§7§6+36,330 Chocolate§7! + * REGEX-TEST: §5§o§9Rabbit§7, so you received §655,935,257 */ private val chocolateGainedPattern by ChocolateFactoryAPI.patternGroup.pattern( "rabbit.stray", - "(?:§.)?+(?:Rabbit§7, so )?(?:[Yy]ou )?(?:gained |received )?§6\\+?(?[\\d,]+)(?:$| Chocolate§7!)" + "(?:§.)*(?:Rabbit§7, so )?(?:[Yy]ou )?(?:gained |received )?§6\\+?(?[\\d,]+)(?: Chocolate§7!)?" ) @SubscribeEvent(priority = EventPriority.HIGH) -- cgit