aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorHiZe <super@hize.be>2024-04-07 02:35:10 +0200
committerGitHub <noreply@github.com>2024-04-07 10:35:10 +1000
commitd8ba776419e152dbd156a6f851977868d8f2853b (patch)
tree12dbefb328de97a6c5296e1fcc5e9a3fba30fdf8 /src/main
parent2d829352772acc4b403d4fe6682e995f969fb449 (diff)
downloadskyhanni-d8ba776419e152dbd156a6f851977868d8f2853b.tar.gz
skyhanni-d8ba776419e152dbd156a6f851977868d8f2853b.tar.bz2
skyhanni-d8ba776419e152dbd156a6f851977868d8f2853b.zip
fixed contest detection (#1375)
Co-authored-by: superhize <superhize@gmail.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/FarmingContestAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/FarmingContestAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/FarmingContestAPI.kt
index e1a939d08..43aecc45d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/FarmingContestAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/FarmingContestAPI.kt
@@ -35,7 +35,7 @@ object FarmingContestAPI {
)
private val sidebarCropPattern by patternGroup.pattern(
"sidebarcrop",
- "(?:§e○|§6☘) §f(?<crop>.*) §a.*"
+ "\\s*(?:§e○|§6☘) §f(?<crop>.*) §a.*"
)
private val contests = mutableMapOf<Long, FarmingContest>()