aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-29 09:30:23 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-29 09:30:23 +0100
commit542be5724e13fda8062dac6a44154773279e0312 (patch)
tree287cc74dc8866016ec51d8c52d19c646f06db4c5 /src
parent65af04ad02baa5e567b56556043eeadc10edd55c (diff)
downloadskyhanni-542be5724e13fda8062dac6a44154773279e0312.tar.gz
skyhanni-542be5724e13fda8062dac6a44154773279e0312.tar.bz2
skyhanni-542be5724e13fda8062dac6a44154773279e0312.zip
No longer show updated sacks data in visitor shopping list.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt4
1 files changed, 1 insertions, 3 deletions
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")
}