From 10d09dbcc24e8f61b554120e36461c0223c798f5 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 6 Feb 2017 11:58:42 +1100 Subject: [PATCH] SPIGOT-3051: Set pitch/yaw for spawned boats By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index fa7e8c7b59..191501ec16 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -900,6 +900,7 @@ public class CraftWorld implements World { // order is important for some of these if (Boat.class.isAssignableFrom(clazz)) { entity = new EntityBoat(world, x, y, z); + entity.setPositionRotation(x, y, z, yaw, pitch); } else if (FallingBlock.class.isAssignableFrom(clazz)) { entity = new EntityFallingBlock(world, x, y, z, world.getType(new BlockPosition(x, y, z))); } else if (Projectile.class.isAssignableFrom(clazz)) {