Skip to content

Commit

Permalink
GH-25 include the group information in pc list
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock committed Sep 13, 2023
1 parent db262c6 commit 85b5c86
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ public void execute(CommandSender sender, Command command, String label, String[
} else {
message.send(sender, message.getPluginList(), Placeholder.component("plugins", message.getPluginListComponent(config.getPluginList())));
}
if (config.getPluginGroupList().isEmpty()) {
message.send(sender, message.getGroupListEmpty());
} else {
message.send(sender, message.getGroupPluginList(), Placeholder.component("groups", message.getGroupListComponent(config.getPluginGroups())));
}
}

@Override
Expand Down

0 comments on commit 85b5c86

Please sign in to comment.