Revert back to ugly-alias in PlayerCommandPreprocessEvent for /skillname

commands.
This commit is contained in:
GJ
2013-02-06 11:00:43 -05:00
parent 7a0f8ea2dd
commit 9326921e2a
2 changed files with 29 additions and 4 deletions

View File

@ -47,9 +47,6 @@ public final class CommandRegistrationHelper {
String commandName = skill.toString().toLowerCase();
String localizedName = LocaleLoader.getString(Misc.getCapitalized(commandName) + ".SkillName").toLowerCase();
List<String> aliasList = new ArrayList<String>();
aliasList.add(localizedName);
PluginCommand command;
// Make us play nice with Essentials
@ -60,7 +57,6 @@ public final class CommandRegistrationHelper {
command = mcMMO.p.getCommand(commandName);
}
command.setAliases(aliasList);
command.setDescription(LocaleLoader.getString("Commands.Description.Skill", Misc.getCapitalized(localizedName)));
command.setPermission("mcmmo.commands." + commandName);
command.setPermissionMessage(permissionsMessage);