From 4377dac1388c04f887edf40c2c048288f58f3ec2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 20 May 2017 11:16:28 +1000 Subject: [PATCH] SPIGOT-3253: Fix entity yaw changes --- src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index f1cfc7ad3f..4fa2687d8c 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -280,7 +280,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { // entity.setLocation() throws no event, and so cannot be cancelled entity.setLocation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); // SPIGOT-619: Force sync head rotation also - entity.h(location.getYaw()); // PAIL: setHeadRotation + entity.setHeadRotation(location.getYaw()); return true; }