From c4243232f0af85320d75d85dc1947c93d5e4770c Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Fri, 6 May 2016 16:11:26 +0200 Subject: [PATCH] Fix /dxl group create --- pom.xml | 2 +- .../java/io/github/dre2n/dungeonsxl/command/GroupCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4bb7a99a..e711e68d 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.github.dre2n dungeonsxl - 0.11 + 0.11-SNAPSHOT jar DungeonsXL https://dre2n.github.io diff --git a/src/main/java/io/github/dre2n/dungeonsxl/command/GroupCommand.java b/src/main/java/io/github/dre2n/dungeonsxl/command/GroupCommand.java index 105ba18a..b4e3f0d7 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/command/GroupCommand.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/command/GroupCommand.java @@ -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; }