allow cutting onto next path one movement earlier
This commit is contained in:
parent
11ed8a2f21
commit
732d806820
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user