fix parkour jumps ending on lilypads, fixes #203
This commit is contained in:
parent
feeeae5918
commit
da137f35de
@ -162,7 +162,7 @@ public class MovementParkour extends Movement {
|
|||||||
}
|
}
|
||||||
MovementHelper.moveTowards(state, dest);
|
MovementHelper.moveTowards(state, dest);
|
||||||
if (playerFeet().equals(dest)) {
|
if (playerFeet().equals(dest)) {
|
||||||
if (player().posY - playerFeet().getY() < 0.01) {
|
if (player().posY - playerFeet().getY() < 0.094) { // lilypads
|
||||||
state.setStatus(MovementState.MovementStatus.SUCCESS);
|
state.setStatus(MovementState.MovementStatus.SUCCESS);
|
||||||
}
|
}
|
||||||
} else if (!playerFeet().equals(src)) {
|
} else if (!playerFeet().equals(src)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user