mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 04:53:11 +00:00
[Fix] Move allowunsafe enchant perm to: essentials.enchantments.allowunsafe
This commit is contained in:
parent
4d9685e10d
commit
46e9471a63
4 changed files with 5 additions and 5 deletions
|
@ -58,7 +58,7 @@ public class Commanditem extends EssentialsCommand
|
|||
if (args.length > 2)
|
||||
{
|
||||
MetaItemStack metaStack = new MetaItemStack(stack);
|
||||
final boolean allowUnsafe = ess.getSettings().allowUnsafeEnchantments() && user.isAuthorized("essentials.enchant.allowunsafe");
|
||||
final boolean allowUnsafe = ess.getSettings().allowUnsafeEnchantments() && user.isAuthorized("essentials.enchantments.allowunsafe");
|
||||
|
||||
metaStack.parseStringMeta(user, allowUnsafe, args, 2, ess);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue