Clean up alias handling.

There is no need to print a stacktrace when an alias fails, we do not do
this for normal commands. We also now give error messages when attempting
to register an alias instead of having them just silently not function.
This commit is contained in:
Travis Watkins
2014-02-09 23:16:19 -06:00
parent 18a2a9f5bf
commit fa7b3c26c8
2 changed files with 10 additions and 5 deletions

View File

@@ -48,7 +48,6 @@ public class FormattedCommandAlias extends Command {
} else {
sender.sendMessage(org.bukkit.ChatColor.RED + "An internal error occurred while attempting to perform this command");
}
Bukkit.getLogger().log(Level.WARNING, "Failed to parse command alias " + commandLabel + ": " + formatString, throwable);
return false;
}
}