diff options
author | alexia <me@alexia.lol> | 2023-12-09 22:23:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 22:23:44 +0100 |
commit | 28ecd7440c2d87628530d7b8817e14ebc66f5509 (patch) | |
tree | 6dd48f08086b6c7f80019e5370bdfad9e1a6e4da | |
parent | 6e8ff34b3b7055f7987479ebd77b0e1bfbdee3c6 (diff) | |
download | skyhanni-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.kt | 2 |
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 } } |