From ceded46c0c59260abb4c3a74a4efd1cdec8224b4 Mon Sep 17 00:00:00 2001 From: Arjan Hofte Date: Fri, 2 Nov 2012 15:55:44 +0100 Subject: [PATCH] FIX Chanced the 'lucky.fishing' modifier If its * 0,75 randomChance will never exeed 99, thus disabling certain drops like Milk Buckets / Skulls. --- src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java b/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java index b8e17fea4..80bcdb503 100755 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Fishing.java @@ -107,7 +107,7 @@ public class Fishing { int randomChance = 100; if (player.hasPermission("mcmmo.perks.lucky.fishing")) { - randomChance = (int) (randomChance * 0.75); + randomChance = (int) (randomChance * 1.75); } if (random.nextDouble() * randomChance <= treasure.getDropChance()) {