From dc94bd1172ffe02921ffefee589533479fb1e9e3 Mon Sep 17 00:00:00 2001 From: GunfighterJ Date: Sat, 9 Mar 2013 18:38:59 -0600 Subject: Allow potion meta to work Instead of denying if they have perms --- Essentials/src/com/earth2me/essentials/MetaItemStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3