From 8915a535c656cf7e3ec9c9db318de87745c28397 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 14 Jan 2013 12:03:42 -0500 Subject: [PATCH] No point casting from int to int. --- .../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 2ffe9a1a0..9466f9989 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java @@ -43,7 +43,7 @@ public class FishingCommand extends SkillCommand { chanceRaining = ""; //Treasure Hunter lootTier = Fishing.getFishingLootTier(profile); - double magicChanceD = (int) (lootTier * magicHunterMultiplier); + double magicChanceD = lootTier * magicHunterMultiplier; if (raining) { chanceRaining = LocaleLoader.getString("Fishing.Chance.Raining"); magicChanceD = magicChanceD * 1.1D;