aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/garden
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2024-02-14 20:18:43 +0100
committerGitHub <noreply@github.com>2024-02-14 20:18:43 +0100
commit029514e0324d8ae72ad181c06bcf081c5c2a6304 (patch)
treeb37e0d8e02d09cf47abb0ad94ea9a1413adab5f8 /src/main/java/at/hannibal2/skyhanni/features/garden
parent1ec3fad756813a6889746034d1710ffb175ce9b1 (diff)
downloadskyhanni-029514e0324d8ae72ad181c06bcf081c5c2a6304.tar.gz
skyhanni-029514e0324d8ae72ad181c06bcf081c5c2a6304.tar.bz2
skyhanni-029514e0324d8ae72ad181c06bcf081c5c2a6304.zip
Improve Items in sacks display in Visitor Shopping List wording and color. #1001
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt4
1 files changed, 2 insertions, 2 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 f5e283ae4..1672857ff 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
@@ -192,8 +192,8 @@ class GardenVisitorFeatures {
val itemStatus = sackItemData.getStatus()
val itemAmount = sackItemData.amount
if (itemStatus != SackStatus.OUTDATED) {
- val textColour = if (itemAmount > amount) "a" else "e"
- list.add(" §${textColour}x${sackItemData.amount.addSeparators()} §7in your sack")
+ val textColour = if (itemAmount >= amount) "a" else "e"
+ list.add(" (§${textColour}x${sackItemData.amount.addSeparators()} §7in sacks)")
}
}