Skip to content

Commit

Permalink
RE-164 Cleanup of Codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Relluem94 committed Feb 28, 2024
1 parent 2e5ca2e commit 7777eaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ else if (isCMDBlock(sender) || isConsole(sender)) {
private static GroupEntry checkGroupExists(String groupName, Player p) {
GroupEntry g = Groups.getGroup(groupName);

if(g == null){
if(Groups.groupExists(groupName)){
p.sendMessage(PLUGIN_COMMAND_SETGROUP_GROUP_NOT_FOUND);
return null;
}
Expand Down

0 comments on commit 7777eaa

Please sign in to comment.