diff options
author | alexia <me@alexia.lol> | 2023-12-24 23:15:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 23:15:30 +0100 |
commit | 2f0c352849ec84e53676f62be27a1c9e92210441 (patch) | |
tree | 10ed64c303b0ed47d25a9fe95577b761447886f0 /src/main/java/at/hannibal2 | |
parent | 1978ffec4df2f1347a8a81263d9e4406dca328bf (diff) | |
download | skyhanni-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/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 2 |
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" |