mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-25 01:21:26 +01:00
Allow potion meta to work
Instead of denying if they have perms
This commit is contained in:
parent
45fe5f2c02
commit
937ef0bb85
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user