mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-29 23:57:42 +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>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<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>
|
<craftbukkit.version>1.2.5-R1.2-SNAPSHOT</craftbukkit.version>
|
||||||
<citizensapi.version>2.0-SNAPSHOT</citizensapi.version>
|
<citizensapi.version>2.0-SNAPSHOT</citizensapi.version>
|
||||||
<build.number>Unknown</build.number>
|
<build.number>Unknown</build.number>
|
||||||
@ -44,13 +43,6 @@
|
|||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.bukkit</groupId>
|
|
||||||
<artifactId>bukkit</artifactId>
|
|
||||||
<version>${bukkit.version}</version>
|
|
||||||
<type>jar</type>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<url>http://www.citizensnpcs.net</url>
|
<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,
|
EntityHumanNPC handle = new EntityHumanNPC(ws.getServer().getServer(), ws,
|
||||||
StringHelper.parseColors(getFullName()), new ItemInWorldManager(ws), this);
|
StringHelper.parseColors(getFullName()), new ItemInWorldManager(ws), this);
|
||||||
handle.setPositionRotation(loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch());
|
handle.setPositionRotation(loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch());
|
||||||
|
handle.X = loc.getYaw();
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user