From f1db23e47f7cf9a488dbdd03223da51f346ad42b Mon Sep 17 00:00:00 2001 From: Noah van der Aa Date: Tue, 18 Jan 2022 08:26:11 +0100 Subject: [PATCH] [ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842) --- patches/api/0150-Mob-Pathfinding-API.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/api/0150-Mob-Pathfinding-API.patch b/patches/api/0150-Mob-Pathfinding-API.patch index 5a234bb7e6..9d4bbc82aa 100644 --- a/patches/api/0150-Mob-Pathfinding-API.patch +++ b/patches/api/0150-Mob-Pathfinding-API.patch @@ -13,7 +13,7 @@ You can use EntityPathfindEvent to cancel new pathfinds from overriding your cur diff --git a/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java new file mode 100644 -index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200432555aa +index 0000000000000000000000000000000000000000..43f062257472a06e9e64c2feef6c3b1012aee00e --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java @@ -0,0 +1,212 @@ @@ -214,7 +214,7 @@ index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200 + + /** + * @return Returns the index of the current point along the points returned in {@link #getPoints()} the entity -+ * is trying to reach, or null if we are done with this pathfinding. ++ * is trying to reach. This value will be higher than the maximum index of {@link #getPoints()} if this path finding is done. + */ + int getNextPointIndex(); +