diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-08-18 21:05:45 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-08-18 21:05:45 +0100 |
commit | 3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f (patch) | |
tree | 1bb06ae2e1be0656ef30ca3d3c8276ae3a573fd1 /Essentials | |
parent | b8cdd7d1f7955d188add26e42b91c8fb13e54665 (diff) | |
download | Essentials-3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f.tar Essentials-3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f.tar.gz Essentials-3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f.tar.lz Essentials-3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f.tar.xz Essentials-3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f.zip |
Fix feed cooldown bypass permission:
Permission: essentials.feed.cooldown.bypass
Diffstat (limited to 'Essentials')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandfeed.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandfeed.java b/Essentials/src/com/earth2me/essentials/commands/Commandfeed.java index c691e9572..b2128a5b2 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandfeed.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandfeed.java @@ -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(); } |