From 3b8df2d18ea74f63e9c22d3769b8bff4624dbf0f Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sun, 18 Aug 2013 21:05:45 +0100 Subject: [PATCH] Fix feed cooldown bypass permission: Permission: essentials.feed.cooldown.bypass --- .../src/com/earth2me/essentials/commands/Commandfeed.java | 4 ++-- 1 file 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(); }