fix jump before place ascend
This commit is contained in:
parent
6702b44b3e
commit
ed2b0f0bb9
@ -541,6 +541,9 @@ public class PathExecutor implements IPathExecutor, Helper {
|
|||||||
if (!MovementHelper.canWalkOn(ctx, current.getDest().down())) {
|
if (!MovementHelper.canWalkOn(ctx, current.getDest().down())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!MovementHelper.canWalkOn(ctx, next.getDest().down())) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
for (int x = 0; x < 2; x++) {
|
for (int x = 0; x < 2; x++) {
|
||||||
for (int y = 0; y < 3; y++) {
|
for (int y = 0; y < 3; y++) {
|
||||||
BlockPos chk = current.getSrc().up(y);
|
BlockPos chk = current.getSrc().up(y);
|
||||||
|
Loading…
Reference in New Issue
Block a user