mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Bite for Master Angler will no longer display so many decimal places
Fixes #3772
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user