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

@ -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));
}
}