mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01: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 {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user