diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 6 |
1 files changed, 6 insertions, 0 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 4dcd2684d..8607a12af 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 @@ -299,6 +299,9 @@ class GardenVisitorFeatures { val (itemName, amount) = ItemUtils.readItemAmount(formattedLine) ?: continue val internalName = NEUItems.getInternalNameOrNull(itemName)?.replace("◆_", "") ?: continue + + // Ignoring custom NEU items like copper + if (internalName.startsWith("SKYBLOCK_")) continue val price = internalName.getPrice() * amount if (readingItemsNeeded) { @@ -356,6 +359,9 @@ class GardenVisitorFeatures { val (itemName, amount) = ItemUtils.readItemAmount(formattedLine) ?: continue val internalName = NEUItems.getInternalNameOrNull(itemName)?.replace("◆_", "") ?: continue + + // Ignoring custom NEU items like copper + if (internalName.startsWith("SKYBLOCK_")) continue val price = internalName.getPrice() * amount if (config.inventory.showPrice) { |