mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-25 01:21:26 +01:00
commit
fc019af9f6
@ -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