Skip to content

Commit 9e1e89b

Browse files
committed
Fix ancient comment
1 parent 7c4036d commit 9e1e89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/baritone/pathing/calc/AStarPathFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ protected Optional<IPath> calculate0(long primaryTimeout, long failureTimeout) {
131131
SettingsUtil.maybeCensor(currentNode.z),
132132
actionCost));
133133
}
134-
// check destination after verifying it's not COST_INF -- some movements return a static IMPOSSIBLE object with COST_INF and destination being 0,0,0 to avoid allocating a new result for every failed calculation
134+
// check destination after verifying it's not COST_INF -- some movements return COST_INF without adjusting the destination
135135
if (moves.dynamicXZ && !worldBorder.entirelyContains(res.x, res.z)) { // see issue #218
136136
continue;
137137
}

0 commit comments

Comments
 (0)