Fix /dxl group create

This commit is contained in:
Daniel Saukel 2016-05-06 16:11:26 +02:00
parent 5a3a77cabf
commit c4243232f0
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.dre2n</groupId>
<artifactId>dungeonsxl</artifactId>
<version>0.11</version>
<version>0.11-SNAPSHOT</version>
<packaging>jar</packaging>
<name>DungeonsXL</name>
<url>https://dre2n.github.io</url>

View File

@ -113,7 +113,7 @@ public class GroupCommand extends BRCommand {
return;
}
if (DGroup.getByName(args[2]) == null) {
if (DGroup.getByName(args[2]) != null) {
MessageUtil.sendMessage(sender, DMessages.ERROR_NAME_IN_USE.getMessage(args[2]));
return;
}