From 542be5724e13fda8062dac6a44154773279e0312 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:30:23 +0100 Subject: No longer show updated sacks data in visitor shopping list. --- .../skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main') 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 147189257..1c17d38f6 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 @@ -184,9 +184,7 @@ class GardenVisitorFeatures { val sackItemData = SackAPI.fetchSackItem(internalName) val itemStatus = sackItemData.getStatus() val itemAmount = sackItemData.amount - if (itemStatus == SackStatus.OUTDATED) { - list.add(" §cdata outdated, open sacks") - } else { + if (itemStatus != SackStatus.OUTDATED) { val textColour = if (itemAmount > amount) "a" else "e" list.add(" §${textColour}x${sackItemData.amount.addSeparators()} §7in your sack") } -- cgit