From a16d5435dedc02f14e30c35820bba12ea854a03e Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 31 May 2012 14:27:08 -0400 Subject: [PATCH] Removed unneeded function call. --- .../java/com/gmail/nossr50/commands/skills/FishingCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java index 279096c11..b4bcdbc10 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java @@ -67,7 +67,7 @@ public class FishingCommand extends SkillCommand { if (canShake) { //TODO: Do we really need to display this twice? Not like there are any associated stats. - if (profile.getSkillLevel(SkillType.FISHING) < 150) { + if (skillValue < 150) { player.sendMessage(LocaleLoader.getString("Ability.Generic.Template.Lock", new Object[] { LocaleLoader.getString("Fishing.Ability.Locked.0") })); } else {