From 964f3472fe63b884b004405a5b6bf608eb9c1fb4 Mon Sep 17 00:00:00 2001 From: alexia Date: Sat, 6 Jan 2024 11:22:59 +0100 Subject: Only show vacuum bag on your own vacuums (#833) Only show vacuum bag on your own vacuums. #833 --- .../skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/at/hannibal2') 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 @@ -203,6 +203,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() -- cgit