aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2023-12-24 23:15:30 +0100
committerGitHub <noreply@github.com>2023-12-24 23:15:30 +0100
commit2f0c352849ec84e53676f62be27a1c9e92210441 (patch)
tree10ed64c303b0ed47d25a9fe95577b761447886f0 /src
parent1978ffec4df2f1347a8a81263d9e4406dca328bf (diff)
downloadskyhanni-2f0c352849ec84e53676f62be27a1c9e92210441.tar.gz
skyhanni-2f0c352849ec84e53676f62be27a1c9e92210441.tar.bz2
skyhanni-2f0c352849ec84e53676f62be27a1c9e92210441.zip
Make vacuum bag show 40+ instead of 40 when capped (#830)
Make vacuum bag show 40+ instead of 40 when capped #830
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
index 1478df3ad..80ee50233 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java
@@ -115,7 +115,7 @@ public class InventoryConfig {
}
@Expose
- @ConfigOption(name = " Vacuum Bag Cap", desc = "Capping the Garden Vacuum Bag item number display to 40.")
+ @ConfigOption(name = " Vacuum Bag Cap", desc = "Cap the Garden Vacuum Bag item number display to 40.")
@ConfigEditorBoolean
public boolean vacuumBagCap = true;
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
index df57ca7dc..a72a6b58b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
@@ -207,7 +207,7 @@ object ItemDisplayOverlayFeatures {
gardenVacuumPatterm.matchMatcher(line) {
val pests = group("amount").formatNumber()
return if (config.vacuumBagCap) {
- if (pests > 39) "§640" else "$pests"
+ if (pests > 39) "§640+" else "$pests"
} else {
when {
pests < 40 -> "$pests"