aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch')
-rw-r--r--patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch b/patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
index bf344a8f6b..5ef39afe5c 100644
--- a/patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
+++ b/patches/server/0974-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
@@ -26,10 +26,10 @@ index 3fec07b250a8f145e30c8c41888e47d2a3c902e1..2ddd033e1c3a2e5c8950b93c83849192
x = to.getX();
y = to.getY();
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index 728136663685882c6fd2d94900a27368c7c340f1..4591011a142f33f0c0ff84a2765cededde0e0c57 100644
+index 211e9bb82e65bdd5811c3b4df7ac93741fc7cdc3..e2e5ec647725f1f16067003ec773530d72fc5fcf 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -4193,7 +4193,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -4201,7 +4201,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
if (!(this instanceof ServerPlayer)) {
EntityTeleportEvent teleport = new EntityTeleportEvent(this.getBukkitEntity(), new Location(this.level().getWorld(), d3, d4, d5), new Location(this.level().getWorld(), d0, d6, d2));
this.level().getCraftServer().getPluginManager().callEvent(teleport);