diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryTooltipStray.kt | 3 |
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) |