13
0
geforkt von Mirrors/Paper

SPIGOT-1915: Fix players seeing their own passengers

Dieser Commit ist enthalten in:
md_5 2017-01-04 10:50:02 +11:00
Ursprung 63b5f7d338
Commit ce89845fda

Datei anzeigen

@ -12,8 +12,12 @@
public class EntityTrackerEntry { public class EntityTrackerEntry {
private static final Logger c = LogManager.getLogger(); private static final Logger c = LogManager.getLogger();
@@ -79,13 +84,14 @@ @@ -76,16 +81,17 @@
this.broadcast(new PacketPlayOutMount(this.tracker));
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) { - if (this.tracker instanceof EntityItemFrame && this.a % 10 == 0) {