aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt6
1 files changed, 6 insertions, 0 deletions
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 a72a6b58b..29473a88a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt
@@ -204,6 +204,12 @@ object ItemDisplayOverlayFeatures {
if (VACUUM_GARDEN.isSelected() && item.getInternalNameOrNull() in PestAPI.vacuumVariants) {
for (line in lore) {
+ if (line.contains("Click to trade!") || line.contains("Starting bid:") || line.contains("Buy it now:")) {
+ return ""
+ }
+ }
+
+ for (line in lore) {
gardenVacuumPatterm.matchMatcher(line) {
val pests = group("amount").formatNumber()
return if (config.vacuumBagCap) {