Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Despical committed Apr 4, 2024
1 parent 254c55b commit 8c2efc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/despical/kotl/commands/AdminCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void helpCommand(CommandArguments arguments) {
for (final var command : plugin.getCommandFramework().getSubCommands()) {
final String usage = command.usage(), desc = command.desc();

if (usage.isEmpty() || desc.isEmpty() || usage.contains("help")) continue;
if (usage.isEmpty() || desc.isEmpty()) continue;

if (isPlayer) {
((Player) sender).spigot().sendMessage(new ComponentBuilder(ChatColor.DARK_GRAY + " • ")
Expand Down

0 comments on commit 8c2efc0

Please sign in to comment.