Don't add the internal bukkit names to the enchantment list, to make it shorter.

This commit is contained in:
snowleo 2011-11-27 11:43:42 +01:00
parent d5db9d404a
commit ccb4d3a7e8

View File

@ -84,7 +84,7 @@ public class Commandenchant extends EssentialsCommand
if (enchantmentslist.contains(enchantmentName) || user.isAuthorized("essentials.enchant." + enchantmentName))
{
enchantmentslist.add(entry.getKey());
enchantmentslist.add(enchantmentName);
//enchantmentslist.add(enchantmentName);
}
}
throw new NotEnoughArgumentsException(_("enchantments", Util.joinList(enchantmentslist.toArray())));