mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02:00
Fix feed cooldown bypass permission:
Permission: essentials.feed.cooldown.bypass
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user