From 9ec35cbfb36211cd07d509ad67c7e8c88cdf41cd Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 8 Dec 2016 22:23:06 +0100 Subject: [PATCH] Changed error message... --- src/main/java/buttondevteam/chat/commands/CommandCaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/chat/commands/CommandCaller.java b/src/main/java/buttondevteam/chat/commands/CommandCaller.java index 40bdfcc..12ffd8c 100644 --- a/src/main/java/buttondevteam/chat/commands/CommandCaller.java +++ b/src/main/java/buttondevteam/chat/commands/CommandCaller.java @@ -77,7 +77,7 @@ public class CommandCaller implements CommandExecutor { if (subcmds.length > 0) sender.sendMessage(subcmds); else { - final String errormsg = "§cInternal error: Command not registered to CommandCaller"; + final String errormsg = "§cYou don't have access to any of this command's subcommands."; sender.sendMessage(errormsg); if (!(sender instanceof ConsoleCommandSender)) Bukkit.getConsoleSender().sendMessage(errormsg);