From 3e20798cfe3e04d2d85f1d8ef3f96b3d9631b04a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 17 Apr 2023 21:52:41 +0200 Subject: Fixed a bug that visitor items sometimes don't show correctly --- .../hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index 74990d8a3..442c4d47f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -116,7 +116,7 @@ class GardenVisitorFeatures { val requiredItems = mutableMapOf() val newVisitors = mutableListOf() for ((visitorName, visitor) in visitors) { - if (visitor.status != VisitorStatus.WAITING && visitor.status != VisitorStatus.NEW) continue + if (visitor.status == VisitorStatus.ACCEPTED || visitor.status == VisitorStatus.REFUSED) continue val items = visitor.items if (items.isEmpty()) { -- cgit