aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0032-EntityPathfindEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0032-EntityPathfindEvent.patch')
-rw-r--r--patches/api/0032-EntityPathfindEvent.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/api/0032-EntityPathfindEvent.patch b/patches/api/0032-EntityPathfindEvent.patch
index e6ee2e1f3f..5a2e0c0ffa 100644
--- a/patches/api/0032-EntityPathfindEvent.patch
+++ b/patches/api/0032-EntityPathfindEvent.patch
@@ -7,10 +7,10 @@ Fires when an Entity decides to start moving to a location.
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..2dd25136d81624025244a82de119fbecd0d7224c
+index 0000000000000000000000000000000000000000..8624e0a528985c9b118f5e8a0f33d3286af2fc36
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/EntityPathfindEvent.java
-@@ -0,0 +1,83 @@
+@@ -0,0 +1,84 @@
+package com.destroystokyo.paper.event.entity;
+
+import org.bukkit.Location;
@@ -49,6 +49,7 @@ index 0000000000000000000000000000000000000000..2dd25136d81624025244a82de119fbec
+ *
+ * @return The Entity that is pathfinding.
+ */
++ @Override
+ public Entity getEntity() {
+ return this.entity;
+ }