Skip to content

Commit

Permalink
AutoBazaar (Visitors Macro):
Browse files Browse the repository at this point in the history
 = xiftoh gniyuB, zzzzzzzzzzz
  • Loading branch information
May2Beez committed Mar 31, 2024
1 parent 58177d3 commit e758672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
mcVersion=1.8.9
modid=farmhelperv2
modName=FarmHelper
version=2.5.14
version=2.5.15
shouldRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private void handleBuyFromBz() {
case OPEN_SIGN:
if (!this.hasTimerEnded()) return;

Slot signSlot = InventoryUtils.getSlotOfIdInContainer(this.buyNowButtonSlot);
Slot signSlot = InventoryUtils.getSlotOfItemInContainer("Custom Amount");
if (signSlot == null || !signSlot.getHasStack()) {
this.disable("Could not find sign.");
return;
Expand Down Expand Up @@ -326,6 +326,7 @@ private void handleBuyFromBz() {
case VERIFY_CONFIRM_PAGE:
if (this.openedChestGuiNameContains("Confirm Instant Buy")) {
log("Opened confirm buy page");
this.buyNowButtonSlot = InventoryUtils.getSlotIdOfItemInContainer("Custom Amount");
this.timer.schedule(FarmHelperConfig.getRandomGUIMacroDelay());
this.buyState = BuyState.CLICK_BUY;
}
Expand Down

0 comments on commit e758672

Please sign in to comment.