From 56928eeedb53e46daac3453d8890763b56894630 Mon Sep 17 00:00:00 2001 From: David Cole <40234707+DavidArthurCole@users.noreply.github.com> Date: Mon, 15 Jul 2024 23:35:55 -0400 Subject: Fix: Fish The Rabbit Production Time in Lore (#2225) --- .../inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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 0c785c761..87e197a96 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 @@ -16,10 +16,11 @@ object ChocolateFactoryTooltipStray { * 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 */ private val chocolateGainedPattern by ChocolateFactoryAPI.patternGroup.pattern( "rabbit.stray", - "(?:§.)+(?:You )?(?:gained )?§6\\+(?[\\d,]+) Chocolate§7!" + "(?:§.)?+(?:Rabbit§7, so )?(?:[Yy]ou )?(?:gained |received )?§6\\+?(?[\\d,]+)(?:$| Chocolate§7!)" ) @SubscribeEvent(priority = EventPriority.HIGH) -- cgit