mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-20 18:32:49 +00: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 a new issue