Changed error message...
This commit is contained in:
parent
8e53762d3e
commit
9ec35cbfb3
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public class CommandCaller implements CommandExecutor {
|
||||||
if (subcmds.length > 0)
|
if (subcmds.length > 0)
|
||||||
sender.sendMessage(subcmds);
|
sender.sendMessage(subcmds);
|
||||||
else {
|
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);
|
sender.sendMessage(errormsg);
|
||||||
if (!(sender instanceof ConsoleCommandSender))
|
if (!(sender instanceof ConsoleCommandSender))
|
||||||
Bukkit.getConsoleSender().sendMessage(errormsg);
|
Bukkit.getConsoleSender().sendMessage(errormsg);
|
||||||
|
|
Loading…
Reference in a new issue