allow cutting onto next path one movement earlier

This commit is contained in:
Leijurv 2018-10-17 12:15:46 -07:00
parent 11ed8a2f21
commit 732d806820
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -276,7 +276,7 @@ public class PathExecutor implements IPathExecutor, Helper {
return true; return true;
} }
} }
return false; // movement is in progress return canCancel; // movement is in progress, but if it reports cancellable, PathingBehavior is good to cut onto the next path
} }
private Tuple<Double, BlockPos> closestPathPos(IPath path) { private Tuple<Double, BlockPos> closestPathPos(IPath path) {