mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-27 02:21:22 +01:00
commit
fc019af9f6
@ -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…
Reference in New Issue
Block a user