Bite for Master Angler will no longer display so many decimal places

Fixes #3772
This commit is contained in:
nossr50 2019-02-04 23:29:24 -08:00
parent 4ea5432561
commit 303a922165
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Key:
! Change
- Removal
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
MaxBonusLevel now has specific entries for Standard and Retro in advanced.yml
MaxBonusLevel for Critical Strikes changed from 75/750 to 100/1000

View File

@ -114,7 +114,7 @@ public class FishingCommand extends SkillCommand {
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));
}
}