also disallow while breaking

This commit is contained in:
Leijurv 2019-02-19 13:28:58 -08:00
parent 76c4ca9ba6
commit a8ddb2fcf1
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 3 additions and 0 deletions

View File

@ -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);