From 8ac5467265d3a3e3b8aa93ba7c009675aba9ed3f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 21 Mar 2023 21:41:47 +0100 Subject: 0.17.Beta.21.1 --- .../java/at/hannibal2/skyhanni/features/garden/GardenBestCropTime.kt | 2 +- .../java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden') 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() val newVisitors = mutableListOf() 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()) { -- cgit