diff options
author | md_5 <git@md-5.net> | 2018-11-10 20:37:56 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-11-10 20:37:56 +1100 |
commit | acbc348e925cbdbae41b2055d60bbe40031d470c (patch) | |
tree | b675cfb7b95de18eb15623bad66281d639563740 | |
parent | 7fbc14c40d0f10925a246bcf0b5a7d7dcae05817 (diff) | |
download | craftbukkit-version/1.12.2.tar craftbukkit-version/1.12.2.tar.gz craftbukkit-version/1.12.2.tar.lz craftbukkit-version/1.12.2.tar.xz craftbukkit-version/1.12.2.zip |
SPIGOT-4477: Arrows only firing direction of boatversion/1.12.2
-rw-r--r-- | nms-patches/PlayerConnection.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch index 0f7ec312..90704e5d 100644 --- a/nms-patches/PlayerConnection.patch +++ b/nms-patches/PlayerConnection.patch @@ -223,12 +223,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)).isEmpty(); if (flag && (flag1 || !flag2)) { entity.setLocation(d0, d1, d2, f, f1); -+ player.setLocation(d0, d1, d2, f, f1); // CraftBukkit ++ player.setLocation(d3, d4, d5, this.player.yaw, this.player.pitch); // CraftBukkit this.networkManager.sendPacket(new PacketPlayOutVehicleMove(entity)); return; } |