diff options
Diffstat (limited to 'src/main/java/org/bukkit/command/defaults/EnchantCommand.java')
-rw-r--r-- | src/main/java/org/bukkit/command/defaults/EnchantCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/command/defaults/EnchantCommand.java b/src/main/java/org/bukkit/command/defaults/EnchantCommand.java index 5f0b6864..5737a48f 100644 --- a/src/main/java/org/bukkit/command/defaults/EnchantCommand.java +++ b/src/main/java/org/bukkit/command/defaults/EnchantCommand.java @@ -54,7 +54,7 @@ public class EnchantCommand extends VanillaCommand { String itemName = item.getType().toString().replaceAll("_", " "); itemName = WordUtils.capitalizeFully(itemName); - Enchantment enchantment = getEnchantment(args[1].toUpperCase()); + Enchantment enchantment = getEnchantment(args[1].toUpperCase(java.util.Locale.ENGLISH)); if (enchantment == null) { sender.sendMessage(String.format("Enchantment does not exist: %s", args[1])); } else { |