From 3d1215ebe767d54f47b29d24ff18437fd1243f67 Mon Sep 17 00:00:00 2001 From: Aaron <51387595+AzureAaron@users.noreply.github.com> Date: Tue, 14 May 2024 16:44:40 -0400 Subject: [PATCH] Make Million/Billion/Trillion abbreviations capitalized --- .../java/de/hysky/skyblocker/skyblock/CompactDamage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/hysky/skyblocker/skyblock/CompactDamage.java b/src/main/java/de/hysky/skyblocker/skyblock/CompactDamage.java index 8b63d5c1d0..cff4997ba5 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/CompactDamage.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/CompactDamage.java @@ -75,9 +75,9 @@ public static void compactDamage(ArmorStandEntity entity) { private static String prettifyDamageNumber(long damage) { if (damage < 1_000) return String.valueOf(damage); if (damage < 1_000_000) return format(damage / 1_000.0) + "k"; - if (damage < 1_000_000_000) return format(damage / 1_000_000.0) + "m"; - if (damage < 1_000_000_000_000L) return format(damage / 1_000_000_000.0) + "b"; - return format(damage / 1_000_000_000_000.0) + "t"; //This will probably never be reached + if (damage < 1_000_000_000) return format(damage / 1_000_000.0) + "M"; + if (damage < 1_000_000_000_000L) return format(damage / 1_000_000_000.0) + "B"; + return format(damage / 1_000_000_000_000.0) + "T"; //This will probably never be reached } private static String format(double number) {