summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-01-04 10:50:02 +1100
committermd_5 <git@md-5.net>2017-01-04 10:50:02 +1100
commitce89845fdaa23072fc014f4c09a3d155ee3f505e (patch)
treef22c726d0e7fef99608f7a89f7d3b0158b77296d /nms-patches
parent63b5f7d338b596531314f45de1227441c4d1f417 (diff)
downloadcraftbukkit-ce89845fdaa23072fc014f4c09a3d155ee3f505e.tar
craftbukkit-ce89845fdaa23072fc014f4c09a3d155ee3f505e.tar.gz
craftbukkit-ce89845fdaa23072fc014f4c09a3d155ee3f505e.tar.lz
craftbukkit-ce89845fdaa23072fc014f4c09a3d155ee3f505e.tar.xz
craftbukkit-ce89845fdaa23072fc014f4c09a3d155ee3f505e.zip
SPIGOT-1915: Fix players seeing their own passengers
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/EntityTrackerEntry.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/nms-patches/EntityTrackerEntry.patch b/nms-patches/EntityTrackerEntry.patch
index 44d34923..88438c35 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) {