SPIGOT-3637: Adjust yaw yet again

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2017-11-07 17:21:38 +11:00
parent 74a1fbce1f
commit f7d75ce15b
4 changed files with 96 additions and 83 deletions

View File

@@ -226,7 +226,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
loc.setX(entity.locX);
loc.setY(entity.locY);
loc.setZ(entity.locZ);
loc.setYaw(entity instanceof EntityLiving ? entity.getHeadRotation() : entity.yaw);
loc.setYaw(entity.getBukkitYaw());
loc.setPitch(entity.pitch);
}