aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch')
-rw-r--r--patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch b/patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
index 4c7c476e6d..72b2cc189a 100644
--- a/patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
+++ b/patches/server/0922-Fix-NPE-on-null-loc-for-EntityTeleportEvent.patch
@@ -26,10 +26,10 @@ index a306b30af19277386a2f3e560b4902a8b5796f2a..54851f6cc0d5fddb32a9a1e84a4f5ae4
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 3e58fa4160fd4e4e5b5d00ba8f963b1b74be2663..a7eec0a1f053d0f4b68604c48aba95420049cfdd 100644
+index 3def6b7919484c330bc1c4aea1a8e2c6ad21f999..ff16c7196b146388c526e3100e561be771ca8a91 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-@@ -4200,7 +4200,7 @@ public abstract class LivingEntity extends Entity implements Attackable {
+@@ -4229,7 +4229,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);