From 569e87847f1088191f5d995d5882f3ab49d99cd8 Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 12 Apr 2013 10:25:00 -0400 Subject: [PATCH] Fixed fishing chance display values. --- .../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 7e42739a8..fa002960c 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java @@ -60,7 +60,7 @@ public class FishingCommand extends SkillCommand { // MASTER ANGLER if (canMasterAngler) { - biteChance = calculateAbilityDisplayValues((skillValue / 10) / (isStorming ? 300 : 500))[0]; + biteChance = calculateAbilityDisplayValues(((Math.max((skillValue / 10.0), 1.0)) / (isStorming ? 300 : 500)) * 100.0)[0]; } }