Allow potion meta to work

Instead of denying if they have perms
This commit is contained in:
GunfighterJ 2013-03-09 18:38:59 -06:00
parent 45fe5f2c02
commit 937ef0bb85

View file

@ -349,7 +349,7 @@ public class MetaItemStack
pEffectType = Potions.getByName(split[1]); pEffectType = Potions.getByName(split[1]);
if (pEffectType != null) 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; validPotionEffect = true;
canceledEffect = false; canceledEffect = false;