diff options
author | snowleo <schneeleo@gmail.com> | 2012-10-16 21:26:14 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-10-16 21:26:14 +0200 |
commit | 3b32012a679c33a49171d68caf4522c58cabbfb6 (patch) | |
tree | 403ff5478d6767899de75b3ee8268c25df16321a | |
parent | c644eb1ee2fe9b6bc1b787e95086fb76a3797445 (diff) | |
download | Essentials-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.java | 2 |
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); } |