修复升级进度百分比显示错误
This commit is contained in:
parent
b094f4db87
commit
f22d9de943
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class TooltipTool {
|
|||
|
||||
tooltip.add(Component.translatable("des.target.tips.level").withStyle(ChatFormatting.GRAY)
|
||||
.append(Component.literal("").withStyle(ChatFormatting.RESET))
|
||||
.append(Component.literal(level + " " + new DecimalFormat("##.##").format(rate) + "%").withStyle(formatting).withStyle(ChatFormatting.BOLD)));
|
||||
.append(Component.literal(level + " " + new DecimalFormat("##.##").format(rate * 100) + "%").withStyle(formatting).withStyle(ChatFormatting.BOLD)));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue