From 64ecbe20bf7faa850adc3a7776e5b54d1e0e413d Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 8 Aug 2018 16:02:29 -0700 Subject: [PATCH] select the bucket --- .../baritone/bot/pathing/movement/movements/MovementFall.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/baritone/bot/pathing/movement/movements/MovementFall.java b/src/main/java/baritone/bot/pathing/movement/movements/MovementFall.java index d1d4d90c..578047fe 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementFall.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementFall.java @@ -90,6 +90,7 @@ public class MovementFall extends Movement { if (playerFeet.equals(dest) && (player().posY - playerFeet.getY() < 0.01 || BlockStateInterface.isWater(dest))) { if (BlockStateInterface.isWater(dest) && player().inventory.hasItemStack(STACK_BUCKET_AIR)) { + player().inventory.currentItem = player().inventory.getSlotFor(STACK_BUCKET_AIR); return state.setInput(InputOverrideHandler.Input.CLICK_RIGHT, true); } return state.setStatus(MovementStatus.SUCCESS);