Set the head yaw as well, remove bukkit from pom as it is included in craftbukkit

This commit is contained in:
fullwall 2012-04-30 23:19:07 +08:00
parent c7eb4eb1b0
commit bed9c12c57
2 changed files with 1 additions and 8 deletions

View File

@ -11,7 +11,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bukkit.version>1.2.5-R1.2-SNAPSHOT</bukkit.version>
<craftbukkit.version>1.2.5-R1.2-SNAPSHOT</craftbukkit.version>
<citizensapi.version>2.0-SNAPSHOT</citizensapi.version>
<build.number>Unknown</build.number>
@ -44,13 +43,6 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>${bukkit.version}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
</dependencies>
<url>http://www.citizensnpcs.net</url>

View File

@ -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;
}