mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-02-17 21:02:12 +01:00
Fix /dxl group create
This commit is contained in:
parent
5a3a77cabf
commit
c4243232f0
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user