diff options
author | md_5 <git@md-5.net> | 2017-11-07 17:21:38 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-11-07 17:21:38 +1100 |
commit | 2fae23c2514026af765e1fcbb8002a60423305c6 (patch) | |
tree | f053d4cd9372e2af12c047351f02e1d36db14096 /src/main/java | |
parent | 53fccdf958fe3e10cb9bdb0f396a454e9ac6ead9 (diff) | |
download | craftbukkit-2fae23c2514026af765e1fcbb8002a60423305c6.tar craftbukkit-2fae23c2514026af765e1fcbb8002a60423305c6.tar.gz craftbukkit-2fae23c2514026af765e1fcbb8002a60423305c6.tar.lz craftbukkit-2fae23c2514026af765e1fcbb8002a60423305c6.tar.xz craftbukkit-2fae23c2514026af765e1fcbb8002a60423305c6.zip |
SPIGOT-3637: Adjust yaw yet again
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index 36571353..700c0072 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -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); } |