diff options
Diffstat (limited to 'nms-patches/EntityPlayer.patch')
-rw-r--r-- | nms-patches/EntityPlayer.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index c9816da0..1b4e0a8f 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -494,6 +494,15 @@ this.locale = packetplayinsettings.a(); this.cg = packetplayinsettings.c(); this.ch = packetplayinsettings.d(); +@@ -931,7 +1126,7 @@ + this.cj = (Entity) (entity == null ? this : entity); + if (entity1 != this.cj) { + this.playerConnection.sendPacket(new PacketPlayOutCamera(this.cj)); +- this.enderTeleportTo(this.cj.locX, this.cj.locY, this.cj.locZ); ++ this.playerConnection.a(this.cj.locX, this.cj.locY, this.cj.locZ, this.yaw, this.pitch, TeleportCause.SPECTATE); // CraftBukkit + } + + } @@ -958,7 +1153,7 @@ @Nullable |