Merge pull request #379 from GunfighterJ/2.9

Allow potion meta to work
This commit is contained in:
Iaccidentally 2013-03-09 16:46:59 -08:00
commit fc019af9f6

View file

@ -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;