Changed error message...

This commit is contained in:
Norbi Peti 2016-12-08 22:23:06 +01:00
parent 8e53762d3e
commit 9ec35cbfb3

View file

@ -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);