mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Bite for Master Angler will no longer display so many decimal places
Fixes #3772
This commit is contained in:
parent
4ea5432561
commit
303a922165
@ -7,6 +7,7 @@ Key:
|
|||||||
! Change
|
! Change
|
||||||
- Removal
|
- Removal
|
||||||
Version 2.1.8
|
Version 2.1.8
|
||||||
|
Fixed a bug where Bite chance for Master Angler was displaying too many decimal places
|
||||||
Fixed a bug where Abilities didn't check for permission nodes before activating
|
Fixed a bug where Abilities didn't check for permission nodes before activating
|
||||||
MaxBonusLevel now has specific entries for Standard and Retro in advanced.yml
|
MaxBonusLevel now has specific entries for Standard and Retro in advanced.yml
|
||||||
MaxBonusLevel for Critical Strikes changed from 75/750 to 100/1000
|
MaxBonusLevel for Critical Strikes changed from 75/750 to 100/1000
|
||||||
|
@ -114,7 +114,7 @@ public class FishingCommand extends SkillCommand {
|
|||||||
|
|
||||||
double luckyModifier = Permissions.lucky(player, PrimarySkillType.FISHING) ? 1.333D : 1.0D;
|
double luckyModifier = Permissions.lucky(player, PrimarySkillType.FISHING) ? 1.333D : 1.0D;
|
||||||
|
|
||||||
biteChance = String.valueOf((rawBiteChance * 100.0D) * luckyModifier);
|
biteChance = percent.format(String.valueOf((rawBiteChance * 100.0D) * luckyModifier));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user