调整合成计划使用字节数格式化大小阈值
This commit is contained in:
parent
9cda1e8c19
commit
e223b9fae6
|
|
@ -20,6 +20,9 @@ public class CraftConfirmScreenMixin {
|
|||
)
|
||||
)
|
||||
private String useCustomFormat(NumberFormat instance, long number) {
|
||||
if (number < 10_000) {
|
||||
return NumberFormat.getInstance().format(number);
|
||||
}
|
||||
return NumberFormatUtil.formatNumber(number);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user