diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-07-26 04:36:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-26 10:36:15 +0200 |
commit | 23073945bcba5f56f343106155634a57ae3f8549 (patch) | |
tree | 8fa9fe1279baef8ffca116611b61ce9080881f29 /src/main | |
parent | 59cf5c886b055c946cf649d0c703ed5a647c763d (diff) | |
download | skyhanni-23073945bcba5f56f343106155634a57ae3f8549.tar.gz skyhanni-23073945bcba5f56f343106155634a57ae3f8549.tar.bz2 skyhanni-23073945bcba5f56f343106155634a57ae3f8549.zip |
Fix: Stray Rabbit Production Time Tooltip (#2239)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt | 10 |
1 files changed, 5 insertions, 5 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 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\\+?(?<amount>[\\d,]+)(?:$| Chocolate§7!)" + "(?:§.)*(?:Rabbit§7, so )?(?:[Yy]ou )?(?:gained |received )?§6\\+?(?<amount>[\\d,]+)(?: Chocolate§7!)?" ) @SubscribeEvent(priority = EventPriority.HIGH) |