look at same coord as later location check
This commit is contained in:
parent
0bf9567833
commit
879e2135e6
@ -85,7 +85,7 @@ public class MovementFall extends Movement {
|
|||||||
state.setInput(InputOverrideHandler.Input.CLICK_RIGHT, true)
|
state.setInput(InputOverrideHandler.Input.CLICK_RIGHT, true)
|
||||||
.setTarget(new MovementTarget(targetRotation.get()));
|
.setTarget(new MovementTarget(targetRotation.get()));
|
||||||
} else {
|
} else {
|
||||||
state.setTarget(new MovementTarget(Utils.calcRotationFromVec3d(playerHead(), Utils.calcCenterFromCoords(dest, world()))));
|
state.setTarget(new MovementTarget(Utils.calcRotationFromVec3d(playerHead(), Utils.getBlockPosCenter(dest))));
|
||||||
}
|
}
|
||||||
if (playerFeet.equals(dest) && (player().posY - playerFeet.getY() < 0.01
|
if (playerFeet.equals(dest) && (player().posY - playerFeet.getY() < 0.01
|
||||||
|| BlockStateInterface.isWater(dest))) {
|
|| BlockStateInterface.isWater(dest))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user