From 5818b5cd892b97d2c992ad02632bc4808a31d8c4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 18 Nov 2023 11:46:10 +0100 Subject: Fixed Collection Analysis detection for /ff not working for some tools again. --- .../java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt index 1baa9398e..8bf474ddb 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt @@ -156,7 +156,7 @@ class FarmingFortuneDisplay { CropAccessoryData.cropAccessory?.getFortune(it) } - private val collectionPattern = "§7You have §6\\+(?\\d{1,3})☘ .* Fortune§7.".toPattern() + private val collectionPattern = "§7You have §6\\+(?\\d{1,3})☘ .*".toPattern() private val tooltipFortunePattern = "^§7Farming Fortune: §a\\+([\\d.]+)(?: §2\\(\\+\\d\\))?(?: §9\\(\\+(\\d+)\\))?$".toRegex() private val armorAbilityPattern = "Tiered Bonus: .* [(](?.*)/4[)]".toPattern() -- cgit