mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
No point casting from int to int.
This commit is contained in:
parent
0587741437
commit
8915a535c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user