mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-06-27 15:05:22 +02:00
Set the head yaw as well, remove bukkit from pom as it is included in craftbukkit
This commit is contained in:
parent
c7eb4eb1b0
commit
bed9c12c57
8
pom.xml
8
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user