Fix jumping from packplaced blocks on water
Not having frostwalker means that we must have replaced the water with a throwaway, not that we are standing on water
This commit is contained in:
parent
9ffe4f2c25
commit
45c0b38156
@ -96,7 +96,7 @@ public class MovementParkour extends Movement {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// we can't jump from (frozen) water with assumeWalkOnWater because we can't be sure it will be frozen
|
// we can't jump from (frozen) water with assumeWalkOnWater because we can't be sure it will be frozen
|
||||||
if (standingOn.getBlock() instanceof BlockLiquid && (!MovementHelper.canUseFrostWalker(context, standingOn) || context.assumeWalkOnWater)) {
|
if (context.assumeWalkOnWater && standingOn.getBlock() instanceof BlockLiquid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int maxJump;
|
int maxJump;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user