mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
SPIGOT-1915: Fix players seeing their own passengers
By: md_5 <git@md-5.net>
This commit is contained in:
parent
44f4a83e59
commit
abf429e3bb
@ -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