mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-28 03:57:35 +01:00
commit
72c176bf24
10
pom.xml
10
pom.xml
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
<groupId>net.citizensnpcs</groupId>
|
<groupId>net.citizensnpcs</groupId>
|
||||||
<artifactId>citizens</artifactId>
|
<artifactId>citizens</artifactId>
|
||||||
<version>2.0.13-SNAPSHOT</version>
|
<version>2.0.14-SNAPSHOT</version>
|
||||||
<name>Citizens</name>
|
<name>Citizens</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<craftbukkit.version>1.7.10-R0.1-SNAPSHOT</craftbukkit.version>
|
<craftbukkit.version>1.8-R0.1-SNAPSHOT</craftbukkit.version>
|
||||||
<citizensapi.version>2.0.13-SNAPSHOT</citizensapi.version>
|
<citizensapi.version>2.0.14-SNAPSHOT</citizensapi.version>
|
||||||
<vault.version>1.4.1</vault.version>
|
<vault.version>1.4.1</vault.version>
|
||||||
<powermock.version>1.4.12</powermock.version>
|
<powermock.version>1.4.12</powermock.version>
|
||||||
<build.number>Unknown</build.number>
|
<build.number>Unknown</build.number>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!--<dependency>
|
<dependency>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>${craftbukkit.version}</version>
|
<version>${craftbukkit.version}</version>
|
||||||
@ -55,7 +55,7 @@
|
|||||||
<version>${craftbukkit.version}</version>
|
<version>${craftbukkit.version}</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>-->
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.citizensnpcs</groupId>
|
<groupId>net.citizensnpcs</groupId>
|
||||||
<artifactId>citizensapi</artifactId>
|
<artifactId>citizensapi</artifactId>
|
||||||
|
@ -296,7 +296,7 @@ public class NPCCommands {
|
|||||||
|
|
||||||
EntityType type = EntityType.PLAYER;
|
EntityType type = EntityType.PLAYER;
|
||||||
if (args.hasValueFlag("type")) {
|
if (args.hasValueFlag("type")) {
|
||||||
String inputType = args.getFlag("type");
|
String inputType = args.getFlag("type").toUpperCase();
|
||||||
type = Util.matchEntityType(inputType);
|
type = Util.matchEntityType(inputType);
|
||||||
if (type == null) {
|
if (type == null) {
|
||||||
throw new CommandException(Messaging.tr(Messages.NPC_CREATE_INVALID_MOBTYPE, inputType));
|
throw new CommandException(Messaging.tr(Messages.NPC_CREATE_INVALID_MOBTYPE, inputType));
|
||||||
|
Loading…
Reference in New Issue
Block a user