1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-24 00:13:48 +01:00

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 da558f25d7
commit dc94bd1172

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;