From 3a4de97c9bb3548f2fbb7e1b623b778a9281968e Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 14 Apr 2020 02:52:25 +0100 Subject: [PATCH] Always use localized names for skills, vs just non-english --- .../com/gmail/nossr50/datatypes/skills/PrimarySkillType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/PrimarySkillType.java b/src/main/java/com/gmail/nossr50/datatypes/skills/PrimarySkillType.java index 24d21e972..75fd7540f 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/PrimarySkillType.java +++ b/src/main/java/com/gmail/nossr50/datatypes/skills/PrimarySkillType.java @@ -235,7 +235,7 @@ public enum PrimarySkillType { } public String getName() { - return Config.getInstance().getLocale().equalsIgnoreCase("en_US") ? StringUtils.getCapitalized(this.toString()) : StringUtils.getCapitalized(LocaleLoader.getString(StringUtils.getCapitalized(this.toString()) + ".SkillName")); + return StringUtils.getCapitalized(LocaleLoader.getString(StringUtils.getCapitalized(this.toString()) + ".SkillName")); } public boolean getPermissions(Player player) {