also disallow while breaking

This commit is contained in:
Leijurv
2019-02-19 13:28:58 -08:00
parent 76c4ca9ba6
commit a8ddb2fcf1

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