Skip to content

Commit

Permalink
Change handle yaw fields
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Nov 25, 2016
1 parent 71e28c6 commit 83413cb
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -810,10 +810,11 @@ public void setHeadYaw(org.bukkit.entity.Entity entity, float yaw) {
return;
EntityLiving handle = (EntityLiving) getHandle(entity);
yaw = Util.clampYaw(yaw);
handle.aP = yaw;
if (!(handle instanceof EntityHuman))
handle.aO = yaw;
handle.aQ = yaw;
handle.aN = yaw;
if (!(handle instanceof EntityHuman)) {
handle.aL = yaw;
}
handle.aO = yaw;
}

@Override
Expand Down

0 comments on commit 83413cb

Please sign in to comment.