diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-03-09 16:46:59 -0800 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-03-09 16:46:59 -0800 |
commit | fc019af9f60fd3dc9df8d7fbfc2191a54053fc18 (patch) | |
tree | c4137796812ae84e749ec005e4cca51ba0496257 | |
parent | 45fe5f2c02a70cf5cd2ee4d6da6128df8eaf2e20 (diff) | |
parent | 937ef0bb8537ab70b52b199b07f2b50d7f3cb6cc (diff) | |
download | Essentials-fc019af9f60fd3dc9df8d7fbfc2191a54053fc18.tar Essentials-fc019af9f60fd3dc9df8d7fbfc2191a54053fc18.tar.gz Essentials-fc019af9f60fd3dc9df8d7fbfc2191a54053fc18.tar.lz Essentials-fc019af9f60fd3dc9df8d7fbfc2191a54053fc18.tar.xz Essentials-fc019af9f60fd3dc9df8d7fbfc2191a54053fc18.zip |
Merge pull request #379 from GunfighterJ/2.9
Allow potion meta to work
-rw-r--r-- | Essentials/src/com/earth2me/essentials/MetaItemStack.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/MetaItemStack.java b/Essentials/src/com/earth2me/essentials/MetaItemStack.java index d7501018f..9f413f8c7 100644 --- a/Essentials/src/com/earth2me/essentials/MetaItemStack.java +++ b/Essentials/src/com/earth2me/essentials/MetaItemStack.java @@ -349,7 +349,7 @@ public class MetaItemStack pEffectType = Potions.getByName(split[1]); if (pEffectType != null) { - if (!hasMetaPermission(sender, "potions." + pEffectType.getName().toLowerCase(), false, false, ess)) + if (hasMetaPermission(sender, "potions." + pEffectType.getName().toLowerCase(), false, false, ess)) { validPotionEffect = true; canceledEffect = false; |