mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
SPIGOT-1915: Fix players seeing their own passengers
This commit is contained in:
parent
63b5f7d338
commit
ce89845fda
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user