mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 05:01:28 +00:00
Fix feed cooldown bypass permission:
Permission: essentials.feed.cooldown.bypass
This commit is contained in:
parent
b8cdd7d1f7
commit
3b8df2d18e
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ public class Commandfeed extends EssentialsCommand
|
|||
{
|
||||
throw new PlayerNotFoundException();
|
||||
}
|
||||
if (!user.isAuthorized("essentials.heal.cooldown.bypass"))
|
||||
if (!user.isAuthorized("essentials.feed.cooldown.bypass"))
|
||||
{
|
||||
user.healCooldown();
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ public class Commandfeed extends EssentialsCommand
|
|||
return;
|
||||
}
|
||||
|
||||
if (!user.isAuthorized("essentials.heal.cooldown.bypass"))
|
||||
if (!user.isAuthorized("essentials.feed.cooldown.bypass"))
|
||||
{
|
||||
user.healCooldown();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue