From 5a74a02f3393e694efb561047a57392d5a37ac88 Mon Sep 17 00:00:00 2001 From: fullwall Date: Sat, 16 Mar 2013 16:13:35 +0800 Subject: [PATCH] Head yaw method update --- src/main/java/net/citizensnpcs/util/NMS.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/citizensnpcs/util/NMS.java b/src/main/java/net/citizensnpcs/util/NMS.java index 123629c08..0f5551022 100644 --- a/src/main/java/net/citizensnpcs/util/NMS.java +++ b/src/main/java/net/citizensnpcs/util/NMS.java @@ -275,10 +275,9 @@ public class NMS { yaw -= 360.0F; } handle.aA = yaw; - if (!(handle instanceof EntityHuman)) { + if (!(handle instanceof EntityHuman)) handle.ay = yaw; - handle.az = yaw; - } + handle.aB = yaw; } public static void setLandSpeedModifier(EntityLiving handle, float speed) {