aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorDavid Cole <40234707+DavidArthurCole@users.noreply.github.com>2024-07-15 23:35:55 -0400
committerGitHub <noreply@github.com>2024-07-16 13:35:55 +1000
commit56928eeedb53e46daac3453d8890763b56894630 (patch)
treec48f361a6ebf6882140cab8b40e3c8677efcc9a4 /src/main/java/at/hannibal2
parent88faa15a0dd554148f3fadcc8f3d2df741e87cde (diff)
downloadskyhanni-56928eeedb53e46daac3453d8890763b56894630.tar.gz
skyhanni-56928eeedb53e46daac3453d8890763b56894630.tar.bz2
skyhanni-56928eeedb53e46daac3453d8890763b56894630.zip
Fix: Fish The Rabbit Production Time in Lore (#2225)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt3
1 files changed, 2 insertions, 1 deletions
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\\+(?<amount>[\\d,]+) Chocolate§7!"
+ "(?:§.)?+(?:Rabbit§7, so )?(?:[Yy]ou )?(?:gained |received )?§6\\+?(?<amount>[\\d,]+)(?:$| Chocolate§7!)"
)
@SubscribeEvent(priority = EventPriority.HIGH)