SPIGOT-1915: Fix players seeing their own passengers

This commit is contained in:
md_5 2017-01-04 10:50:02 +11:00
parent 63b5f7d338
commit ce89845fda

View File

@ -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) {