aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/garden
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-21 21:41:47 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-21 21:42:52 +0100
commit8ac5467265d3a3e3b8aa93ba7c009675aba9ed3f (patch)
tree7b31d1ad5f206fb5f1c9f24a2c7f380c07aa58e9 /src/main/java/at/hannibal2/skyhanni/features/garden
parent091a7102e0bcd1501af83456be8caa70c4b13645 (diff)
downloadskyhanni-8ac5467265d3a3e3b8aa93ba7c009675aba9ed3f.tar.gz
skyhanni-8ac5467265d3a3e3b8aa93ba7c009675aba9ed3f.tar.bz2
skyhanni-8ac5467265d3a3e3b8aa93ba7c009675aba9ed3f.zip
0.17.Beta.21.1
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
index 280e4c462..f8c602a5e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt
@@ -50,7 +50,7 @@ class GardenBestCropTime {
list.add("§7$number# ")
GardenAPI.addGardenCropToList(cropName, list)
- val color = if (isCurrent) "§e" else ""
+ val color = if (isCurrent) "§e" else "§7"
val contestFormat = if (GardenNextJacobContest.isNextCrop(cropName)) "§n" else ""
val cropNameDisplay = "$color$contestFormat$cropName§r"
list.add("$cropNameDisplay §b$duration")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
index 85b311c10..6133b34e4 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
@@ -99,7 +99,7 @@ class GardenVisitorFeatures {
val requiredItems = mutableMapOf<String, Int>()
val newVisitors = mutableListOf<String>()
for ((visitorName, visitor) in visitors) {
- if (visitor.status != VisitorStatus.WAITING) continue
+ if (visitor.status != VisitorStatus.WAITING && visitor.status != VisitorStatus.NEW) continue
val items = visitor.items
if (items.isEmpty()) {