mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Don't add the internal bukkit names to the enchantment list, to make it shorter.
This commit is contained in:
@@ -84,7 +84,7 @@ public class Commandenchant extends EssentialsCommand
|
|||||||
if (enchantmentslist.contains(enchantmentName) || user.isAuthorized("essentials.enchant." + enchantmentName))
|
if (enchantmentslist.contains(enchantmentName) || user.isAuthorized("essentials.enchant." + enchantmentName))
|
||||||
{
|
{
|
||||||
enchantmentslist.add(entry.getKey());
|
enchantmentslist.add(entry.getKey());
|
||||||
enchantmentslist.add(enchantmentName);
|
//enchantmentslist.add(enchantmentName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new NotEnoughArgumentsException(_("enchantments", Util.joinList(enchantmentslist.toArray())));
|
throw new NotEnoughArgumentsException(_("enchantments", Util.joinList(enchantmentslist.toArray())));
|
||||||
|
Reference in New Issue
Block a user