mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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())));
|
||||||
|
|
Loading…
Reference in a new issue