ok i forgot falling into water
This commit is contained in:
parent
9c64067d49
commit
fd6923dd28
@ -184,7 +184,7 @@ public class MovementDiagonal extends Movement {
|
||||
|
||||
if (ctx.playerFeet().equals(dest)) {
|
||||
return state.setStatus(MovementStatus.SUCCESS);
|
||||
} else if (!getValidPositions().contains(ctx.playerFeet())) {
|
||||
} else if (!getValidPositions().contains(ctx.playerFeet()) && !(MovementHelper.isLiquid(ctx, src) && getValidPositions().contains(ctx.playerFeet().up()))) {
|
||||
return state.setStatus(MovementStatus.UNREACHABLE);
|
||||
}
|
||||
if (sprint()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user