aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0245-Mob-Pathfinding-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0245-Mob-Pathfinding-API.patch')
-rw-r--r--patches/server/0245-Mob-Pathfinding-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0245-Mob-Pathfinding-API.patch b/patches/server/0245-Mob-Pathfinding-API.patch
index 7cf9f7d7fa..427d08a157 100644
--- a/patches/server/0245-Mob-Pathfinding-API.patch
+++ b/patches/server/0245-Mob-Pathfinding-API.patch
@@ -12,7 +12,7 @@ public net.minecraft.world.level.pathfinder.Path nodes
diff --git a/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java b/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java
new file mode 100644
-index 0000000000000000000000000000000000000000..3dbe4cf29a7984a1976a60bdeeb3ede02316a3cb
+index 0000000000000000000000000000000000000000..946cbc955683e81933e0f3c0db5f8cc4ec437a76
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java
@@ -0,0 +1,148 @@
@@ -40,7 +40,7 @@ index 0000000000000000000000000000000000000000..3dbe4cf29a7984a1976a60bdeeb3ede0
+
+ @Override
+ public Mob getEntity() {
-+ return entity.getBukkitMob();
++ return (Mob) entity.getBukkitEntity();
+ }
+
+ public void setHandle(net.minecraft.world.entity.Mob entity) {