summaryrefslogtreecommitdiffhomepage
path: root/patches/api/0133-Slime-Pathfinder-Events.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0133-Slime-Pathfinder-Events.patch')
-rw-r--r--patches/api/0133-Slime-Pathfinder-Events.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/api/0133-Slime-Pathfinder-Events.patch b/patches/api/0133-Slime-Pathfinder-Events.patch
index d1b62510b8..36e665a7d1 100644
--- a/patches/api/0133-Slime-Pathfinder-Events.patch
+++ b/patches/api/0133-Slime-Pathfinder-Events.patch
@@ -53,10 +53,10 @@ index 0000000000000000000000000000000000000000..a5d4442b53c4bd70165c3240c7dbd3d5
+}
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/SlimePathfindEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/SlimePathfindEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..48963ce451c05f80ff13b4361e8aba196b629319
+index 0000000000000000000000000000000000000000..d481d116452fb5a702bc88a08da3c28cd0401a70
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/SlimePathfindEvent.java
-@@ -0,0 +1,54 @@
+@@ -0,0 +1,56 @@
+package com.destroystokyo.paper.event.entity;
+
+import org.bukkit.entity.Slime;
@@ -89,6 +89,7 @@ index 0000000000000000000000000000000000000000..48963ce451c05f80ff13b4361e8aba19
+ *
+ * @return The Slime that is pathfinding.
+ */
++ @Override
+ public Slime getEntity() {
+ return (Slime) super.getEntity();
+ }
@@ -103,6 +104,7 @@ index 0000000000000000000000000000000000000000..48963ce451c05f80ff13b4361e8aba19
+ this.cancelled = cancel;
+ }
+
++ @Override
+ public HandlerList getHandlers() {
+ return HANDLER_LIST;
+ }