From 26542f3d6e3f72da22cca23f4b9945a7824f8c6d Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 10 Apr 2013 19:32:26 -0400 Subject: [PATCH] Because otherwise you can't fish at low levels. --- .../java/com/gmail/nossr50/skills/fishing/FishingManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java index 1ef834fa8..7b9ed62fb 100644 --- a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java @@ -92,7 +92,9 @@ public class FishingManager extends SkillManager { } public void masterAngler(Fish hook) { - hook.setBiteChance(Math.min(hook.getBiteChance() * (getSkillLevel() / 10.0), 1.0)); + System.out.println("BEFORE: " + hook.getBiteChance()); + hook.setBiteChance(Math.min(hook.getBiteChance() * Math.max((getSkillLevel() / 10.0), 1.0), 1.0)); + System.out.println("AFTER: " + hook.getBiteChance()); } /**