ascend should clear the replaceable block in the way

This commit is contained in:
Leijurv 2018-09-02 11:48:10 -07:00
parent 6389917898
commit 5caa0542ba
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -150,6 +150,8 @@ public class MovementAscend extends Movement {
// After 20 ticks without placement, we might be standing in the way, move back
state.setInput(InputOverrideHandler.Input.MOVE_BACK, true);
}
} else {
state.setInput(InputOverrideHandler.Input.CLICK_LEFT, true); // break whatever replaceable block is in the way
}
System.out.println("Trying to look at " + anAgainst + ", actually looking at" + selectedBlock);
});