also disallow while breaking
This commit is contained in:
parent
76c4ca9ba6
commit
a8ddb2fcf1
@ -544,6 +544,9 @@ public class PathExecutor implements IPathExecutor, Helper {
|
||||
if (!MovementHelper.canWalkOn(ctx, next.getDest().down())) {
|
||||
return false;
|
||||
}
|
||||
if (!next.toBreakCached.isEmpty()) {
|
||||
return false; // it's breaking
|
||||
}
|
||||
for (int x = 0; x < 2; x++) {
|
||||
for (int y = 0; y < 3; y++) {
|
||||
BlockPos chk = current.getSrc().up(y);
|
||||
|
Loading…
Reference in New Issue
Block a user