mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-18 08:35:44 +01:00
Don't add the internal bukkit names to the enchantment list, to make it shorter.
This commit is contained in:
parent
d5db9d404a
commit
ccb4d3a7e8
@ -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())));
|
||||
|
Loading…
Reference in New Issue
Block a user