mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +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 = "";
|
chanceRaining = "";
|
||||||
//Treasure Hunter
|
//Treasure Hunter
|
||||||
lootTier = Fishing.getFishingLootTier(profile);
|
lootTier = Fishing.getFishingLootTier(profile);
|
||||||
double magicChanceD = (int) (lootTier * magicHunterMultiplier);
|
double magicChanceD = lootTier * magicHunterMultiplier;
|
||||||
if (raining) {
|
if (raining) {
|
||||||
chanceRaining = LocaleLoader.getString("Fishing.Chance.Raining");
|
chanceRaining = LocaleLoader.getString("Fishing.Chance.Raining");
|
||||||
magicChanceD = magicChanceD * 1.1D;
|
magicChanceD = magicChanceD * 1.1D;
|
||||||
|
Loading…
Reference in New Issue
Block a user