Skip to content

Commit f1db23e

Browse files
authored
[ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842)
1 parent 919e594 commit f1db23e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/api/0150-Mob-Pathfinding-API.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can use EntityPathfindEvent to cancel new pathfinds from overriding your cur
1313

1414
diff --git a/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
1515
new file mode 100644
16-
index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200432555aa
16+
index 0000000000000000000000000000000000000000..43f062257472a06e9e64c2feef6c3b1012aee00e
1717
--- /dev/null
1818
+++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
1919
@@ -0,0 +1,212 @@
@@ -214,7 +214,7 @@ index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200
214214
+
215215
+ /**
216216
+ * @return Returns the index of the current point along the points returned in {@link #getPoints()} the entity
217-
+ * is trying to reach, or null if we are done with this pathfinding.
217+
+ * is trying to reach. This value will be higher than the maximum index of {@link #getPoints()} if this path finding is done.
218218
+ */
219219
+ int getNextPointIndex();
220220
+

0 commit comments

Comments
 (0)