From 3b32012a679c33a49171d68caf4522c58cabbfb6 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 16 Oct 2012 21:26:14 +0200 Subject: [PATCH] Remember kids, don't copy & paste while coding --- Essentials/src/net/ess3/commands/Commanditem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/net/ess3/commands/Commanditem.java b/Essentials/src/net/ess3/commands/Commanditem.java index 4ae60a7c4..a43b122a7 100644 --- a/Essentials/src/net/ess3/commands/Commanditem.java +++ b/Essentials/src/net/ess3/commands/Commanditem.java @@ -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); }