mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-30 17:59:53 +02:00
Remember kids, don't copy & paste while coding
This commit is contained in:
@@ -56,7 +56,7 @@ public class Commanditem extends EssentialsCommand
|
||||
{
|
||||
level = enchantment.getMaxLevel();
|
||||
}
|
||||
if (Permissions.ITEM_ENCHANTED_UNSAFE.isAuthorized(sender))
|
||||
if (Permissions.ITEM_ENCHANTED_UNSAFE.isAuthorized(user))
|
||||
{
|
||||
stack.addUnsafeEnchantment(enchantment, level);
|
||||
}
|
||||
|
Reference in New Issue
Block a user