aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2023-12-09 22:23:44 +0100
committerGitHub <noreply@github.com>2023-12-09 22:23:44 +0100
commit28ecd7440c2d87628530d7b8817e14ebc66f5509 (patch)
tree6dd48f08086b6c7f80019e5370bdfad9e1a6e4da
parent6e8ff34b3b7055f7987479ebd77b0e1bfbdee3c6 (diff)
downloadskyhanni-28ecd7440c2d87628530d7b8817e14ebc66f5509.tar.gz
skyhanni-28ecd7440c2d87628530d7b8817e14ebc66f5509.tar.bz2
skyhanni-28ecd7440c2d87628530d7b8817e14ebc66f5509.zip
Fix boosted crop not being highlighted during contest participation (#786)
Fixed boosted crop not being highlighted during contest participation. #786
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
index 2ff963828..f86c3d23c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
@@ -349,7 +349,7 @@ object GardenNextJacobContest {
val lineStripped = line.removeColor().trim()
if (!lineStripped.startsWith("☘ ")) continue
for (crop in nextContest.crops) {
- if (line.removeColor().trim() == "☘ ${crop.cropName}") {
+ if (line.removeColor().trim().startsWith("☘ ${crop.cropName}")) {
return crop
}
}