mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
SPIGOT-4477: Arrows only firing direction of boat
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0902bb4e34
commit
696aca057f
1 changed files with 2 additions and 2 deletions
|
@ -216,12 +216,12 @@
|
|||
}
|
||||
|
||||
entity.setLocation(d3, d4, d5, f, f1);
|
||||
+ player.setLocation(d3, d4, d5, f, f1); // CraftBukkit
|
||||
+ player.setLocation(d3, d4, d5, this.player.yaw, this.player.pitch); // CraftBukkit
|
||||
boolean flag2 = worldserver.getCubes(entity, entity.getBoundingBox().shrink(0.0625D));
|
||||
|
||||
if (flag && (flag1 || !flag2)) {
|
||||
entity.setLocation(d0, d1, d2, f, f1);
|
||||
+ player.setLocation(d0, d1, d2, f, f1); // CraftBukkit
|
||||
+ player.setLocation(d0, d1, d2, this.player.yaw, this.player.pitch); // CraftBukkit
|
||||
this.networkManager.sendPacket(new PacketPlayOutVehicleMove(entity));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue