summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-10-16 21:26:14 +0200
committersnowleo <schneeleo@gmail.com>2012-10-16 21:26:14 +0200
commit3b32012a679c33a49171d68caf4522c58cabbfb6 (patch)
tree403ff5478d6767899de75b3ee8268c25df16321a
parentc644eb1ee2fe9b6bc1b787e95086fb76a3797445 (diff)
downloadEssentials-3b32012a679c33a49171d68caf4522c58cabbfb6.tar
Essentials-3b32012a679c33a49171d68caf4522c58cabbfb6.tar.gz
Essentials-3b32012a679c33a49171d68caf4522c58cabbfb6.tar.lz
Essentials-3b32012a679c33a49171d68caf4522c58cabbfb6.tar.xz
Essentials-3b32012a679c33a49171d68caf4522c58cabbfb6.zip
Remember kids, don't copy & paste while coding
-rw-r--r--Essentials/src/net/ess3/commands/Commanditem.java2
1 files changed, 1 insertions, 1 deletions
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);
}