SPIGOT-7048: addPassenger() not working when vehicle is player
This commit is contained in:
parent
3aa7836df4
commit
6209029ea8
@ -27,6 +27,15 @@
|
||||
this.ap = Vec3D.ZERO;
|
||||
this.lastPassengers = Collections.emptyList();
|
||||
this.level = worldserver;
|
||||
@@ -80,7 +90,7 @@
|
||||
|
||||
if (!list.equals(this.lastPassengers)) {
|
||||
this.lastPassengers = list;
|
||||
- this.broadcast.accept(new PacketPlayOutMount(this.entity));
|
||||
+ this.broadcastAndSend(new PacketPlayOutMount(this.entity)); // CraftBukkit
|
||||
}
|
||||
|
||||
Entity entity = this.entity;
|
||||
@@ -88,18 +98,18 @@
|
||||
if (entity instanceof EntityItemFrame) {
|
||||
EntityItemFrame entityitemframe = (EntityItemFrame) entity;
|
||||
|
Loading…
x
Reference in New Issue
Block a user