diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-08-02 11:07:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 11:07:55 +0200 |
commit | 38505f7d513368327028e3d80213432beebd174f (patch) | |
tree | 963a4bbd1c396fde52768a4e966875f6343a06cf /src/main/java/at/hannibal2/skyhanni/features/garden | |
parent | 7739e2986b154b7ac30a4d603517d140a38e2ce3 (diff) | |
download | skyhanni-38505f7d513368327028e3d80213432beebd174f.tar.gz skyhanni-38505f7d513368327028e3d80213432beebd174f.tar.bz2 skyhanni-38505f7d513368327028e3d80213432beebd174f.zip |
Fix: Visitor Shopping List AH items (#2297)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 7 |
1 files changed, 6 insertions, 1 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 3372c2abd..73384c9f0 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 @@ -23,6 +23,7 @@ import at.hannibal2.skyhanni.features.garden.GardenAPI import at.hannibal2.skyhanni.features.garden.farming.GardenCropSpeed.getSpeed import at.hannibal2.skyhanni.features.garden.visitor.VisitorAPI.blockReason import at.hannibal2.skyhanni.features.inventory.bazaar.BazaarApi +import at.hannibal2.skyhanni.features.inventory.bazaar.BazaarApi.isBazaarItem import at.hannibal2.skyhanni.mixins.hooks.RenderLivingEntityHelper import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule import at.hannibal2.skyhanni.test.command.ErrorManager @@ -201,7 +202,11 @@ object GardenVisitorFeatures { if (Minecraft.getMinecraft().currentScreen is GuiEditSign) { LorenzUtils.setTextIntoSign("$amount") } else { - BazaarApi.searchForBazaarItem(name, amount) + if (internalName.isBazaarItem()) { + BazaarApi.searchForBazaarItem(name, amount) + } else { + HypixelCommands.auctionSearch(name.removeColor()) + } } }, ) { GardenAPI.inGarden() && !NEUItems.neuHasFocus() }, |