Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
Luncaaa committed Jun 29, 2023
1 parent 67cad8f commit a827f51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public boolean onCommand(@Nonnull CommandSender sender, @Nonnull Command command

// If the subcommand does not exist, show an error.
if (!subCommands.containsKey(args[0])) {
sender.sendMessage(MessagesManager.getColoredMessage("&cThe command &b%subcommand% &cdoes not exist!", true));
sender.sendMessage(MessagesManager.getColoredMessage("&cThe command " + args[0] + " &cdoes not exist!", true));
sender.sendMessage(MessagesManager.getColoredMessage("&cUse &b/ad help &cto see the list of existing commands.", true));
return true;
}
Expand Down

0 comments on commit a827f51

Please sign in to comment.