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:
parent
da558f25d7
commit
dc94bd1172
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user