From ce89845fdaa23072fc014f4c09a3d155ee3f505e Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 4 Jan 2017 10:50:02 +1100 Subject: [PATCH] SPIGOT-1915: Fix players seeing their own passengers --- nms-patches/EntityTrackerEntry.patch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nms-patches/EntityTrackerEntry.patch b/nms-patches/EntityTrackerEntry.patch index 44d34923b9..88438c3521 100644 --- a/nms-patches/EntityTrackerEntry.patch +++ b/nms-patches/EntityTrackerEntry.patch @@ -12,8 +12,12 @@ public class EntityTrackerEntry { private static final Logger c = LogManager.getLogger(); -@@ -79,13 +84,14 @@ - this.broadcast(new PacketPlayOutMount(this.tracker)); +@@ -76,16 +81,17 @@ + + if (!list1.equals(this.w)) { + this.w = list1; +- this.broadcast(new PacketPlayOutMount(this.tracker)); ++ this.broadcastIncludingSelf(new PacketPlayOutMount(this.tracker)); // CraftBukkit } - if (this.tracker instanceof EntityItemFrame && this.a % 10 == 0) {