1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-15 19:14:18 +02:00

Fix feed cooldown bypass permission:

Permission: essentials.feed.cooldown.bypass
This commit is contained in:
KHobbits
2013-08-18 21:05:45 +01:00
parent 74d757fd59
commit 29d2d91381

View File

@@ -25,7 +25,7 @@ public class Commandfeed extends EssentialsCommand
{ {
throw new PlayerNotFoundException(); throw new PlayerNotFoundException();
} }
if (!user.isAuthorized("essentials.heal.cooldown.bypass")) if (!user.isAuthorized("essentials.feed.cooldown.bypass"))
{ {
user.healCooldown(); user.healCooldown();
} }
@@ -33,7 +33,7 @@ public class Commandfeed extends EssentialsCommand
return; return;
} }
if (!user.isAuthorized("essentials.heal.cooldown.bypass")) if (!user.isAuthorized("essentials.feed.cooldown.bypass"))
{ {
user.healCooldown(); user.healCooldown();
} }