Changed AbilityTypes from enum to constants

This commit is contained in:
ile123ile
2014-08-24 10:41:55 -07:00
parent 3d7b6e13c9
commit 5e83632004
42 changed files with 913 additions and 225 deletions

View File

@ -61,7 +61,7 @@ public final class CommandRegistrationManager {
private static String permissionsMessage = LocaleLoader.getString("mcMMO.NoPermission");
private static void registerSkillCommands() {
for (SkillType skill : SkillType.skillList) {
for (SkillType skill : SkillType.getSkillList()) {
String commandName = skill.toString().toLowerCase();
String localizedName = skill.getLocalizedName().toLowerCase();