From a827f5114962c403d7c24a8e1b95e9fef2f6f94e Mon Sep 17 00:00:00 2001 From: Luncaaa Date: Thu, 29 Jun 2023 22:42:27 +0200 Subject: [PATCH] Fix message --- .../java/me/lucaaa/advanceddisplays/commands/MainCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/lucaaa/advanceddisplays/commands/MainCommand.java b/src/main/java/me/lucaaa/advanceddisplays/commands/MainCommand.java index 9512512..6453067 100644 --- a/src/main/java/me/lucaaa/advanceddisplays/commands/MainCommand.java +++ b/src/main/java/me/lucaaa/advanceddisplays/commands/MainCommand.java @@ -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; }