1
0
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:
snowleo
2012-10-16 21:26:14 +02:00
parent c644eb1ee2
commit 3b32012a67

View File

@@ -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);
}