aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-18 11:46:10 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-18 11:46:10 +0100
commit5818b5cd892b97d2c992ad02632bc4808a31d8c4 (patch)
treeb0f808bb8aee4d9feb331eb86ee6482211137287 /src/main
parent8c32d23f14858adcfc740706a9feea79647126c2 (diff)
downloadskyhanni-5818b5cd892b97d2c992ad02632bc4808a31d8c4.tar.gz
skyhanni-5818b5cd892b97d2c992ad02632bc4808a31d8c4.tar.bz2
skyhanni-5818b5cd892b97d2c992ad02632bc4808a31d8c4.zip
Fixed Collection Analysis detection for /ff not working for some tools again.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt2
1 files changed, 1 insertions, 1 deletions
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\\+(?<ff>\\d{1,3})☘ .* Fortune§7.".toPattern()
+ private val collectionPattern = "§7You have §6\\+(?<ff>\\d{1,3})☘ .*".toPattern()
private val tooltipFortunePattern =
"^§7Farming Fortune: §a\\+([\\d.]+)(?: §2\\(\\+\\d\\))?(?: §9\\(\\+(\\d+)\\))?$".toRegex()
private val armorAbilityPattern = "Tiered Bonus: .* [(](?<pieces>.*)/4[)]".toPattern()