调整合成计划使用字节数格式化大小阈值

This commit is contained in:
C-H716 2025-11-13 20:39:09 +08:00
parent 9cda1e8c19
commit e223b9fae6

View File

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