mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
getextPointIndex was not needing to be boxed/nullable
This commit is contained in:
@@ -11,7 +11,7 @@ the location.
|
||||
|
||||
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 000000000..27b6bb696
|
||||
index 000000000..78230bd28
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
||||
@@ -0,0 +0,0 @@
|
||||
@@ -175,7 +175,7 @@ index 000000000..27b6bb696
|
||||
+ * @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.
|
||||
+ */
|
||||
+ @Nullable Integer getNextPointIndex();
|
||||
+ int getNextPointIndex();
|
||||
+
|
||||
+ /**
|
||||
+ * @return The next location in the path points the entity is trying to reach, or null if there is no next point
|
||||
|
Reference in New Issue
Block a user