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