1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-21 14:03:54 +02: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 6253a23fed
commit bccb85756e

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;