From 28ecd7440c2d87628530d7b8817e14ebc66f5509 Mon Sep 17 00:00:00 2001 From: alexia Date: Sat, 9 Dec 2023 22:23:44 +0100 Subject: Fix boosted crop not being highlighted during contest participation (#786) Fixed boosted crop not being highlighted during contest participation. #786 --- .../at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- cgit