mirror of https://github.com/cabaletta/baritone
select the bucket
This commit is contained in:
parent
879e2135e6
commit
64ecbe20bf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue