From 65b606a8495b0db5e6619777c453fe62f1a0fa9c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sat, 4 May 2024 18:47:12 +0200 Subject: Fix: Crop Milestone Tab List (#1693) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../hannibal2/skyhanni/features/garden/GardenCropMilestoneFix.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneFix.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneFix.kt index 1387aed1d..534d28492 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneFix.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenCropMilestoneFix.kt @@ -21,9 +21,14 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class GardenCropMilestoneFix { private val patternGroup = RepoPattern.group("garden.cropmilestone.fix") + + /** + * REGEX-TEST: Cocoa Beans 31: §r§a68% + * REGEX-TEST: Potato 32: §r§a97.7% + */ private val tabListPattern by patternGroup.pattern( "tablist", - " Milestone: §r§a(?.*) (?.*): §r§3(?.*)%" + " (?.*) (?\\d+): §r§a(?.*)%" ) private val levelUpPattern by patternGroup.pattern( "levelup", -- cgit