From 3c48711c053bf7c007964f17135c56d6dfe1fda6 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 6 Feb 2017 11:58:42 +1100 Subject: [PATCH] SPIGOT-3051: Set pitch/yaw for spawned boats --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index fa7e8c7b59..191501ec16 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/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)) {