Skip to content

Commit

Permalink
xd
Browse files Browse the repository at this point in the history
  • Loading branch information
babbaj committed Jun 18, 2023
1 parent e5bb8e4 commit 03c87d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PathFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ std::optional<Path> findPathFull(Context& ctx, const BlockPos& start, const Bloc

while (true) {
const BlockPos lastPathEnd = !segments.empty() ? segments.back().getEndPos() : realStart;
std::optional path = findPathSegment(ctx, lastPathEnd, realGoal, false);
std::optional path = findPathSegment(ctx, lastPathEnd, realGoal, false, 0);
if (!path.has_value()) {
if (cancelFlag.test()) {
cancelFlag.clear();
Expand Down

0 comments on commit 03c87d9

Please sign in to comment.