From bed9c12c57d1ef368a5a1d065edb925c7b22eac0 Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 30 Apr 2012 23:19:07 +0800 Subject: [PATCH] Set the head yaw as well, remove bukkit from pom as it is included in craftbukkit --- pom.xml | 8 -------- .../net/citizensnpcs/npc/entity/CitizensHumanNPC.java | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 2baaf8caa..82acff50e 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,6 @@ UTF-8 - 1.2.5-R1.2-SNAPSHOT 1.2.5-R1.2-SNAPSHOT 2.0-SNAPSHOT Unknown @@ -44,13 +43,6 @@ jar compile - - org.bukkit - bukkit - ${bukkit.version} - jar - provided - http://www.citizensnpcs.net diff --git a/src/main/java/net/citizensnpcs/npc/entity/CitizensHumanNPC.java b/src/main/java/net/citizensnpcs/npc/entity/CitizensHumanNPC.java index 5a559d5b5..8763fffae 100644 --- a/src/main/java/net/citizensnpcs/npc/entity/CitizensHumanNPC.java +++ b/src/main/java/net/citizensnpcs/npc/entity/CitizensHumanNPC.java @@ -28,6 +28,7 @@ public class CitizensHumanNPC extends CitizensNPC implements Equipable { EntityHumanNPC handle = new EntityHumanNPC(ws.getServer().getServer(), ws, StringHelper.parseColors(getFullName()), new ItemInWorldManager(ws), this); handle.setPositionRotation(loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch()); + handle.X = loc.getYaw(); return handle; }