From ec8215a204c144e6c83e9a56efc98e8d2b15cb85 Mon Sep 17 00:00:00 2001 From: Aaron <51387595+AzureAaron@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:06:07 -0400 Subject: Change warning stuff to dark blue --- .../me/xmrvizzy/skyblocker/skyblock/dungeon/DungeonChestProfit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/dungeon/DungeonChestProfit.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/dungeon/DungeonChestProfit.java index 33521ae2..ad958503 100644 --- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/dungeon/DungeonChestProfit.java +++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/dungeon/DungeonChestProfit.java @@ -29,7 +29,7 @@ public class DungeonChestProfit { private static final Pattern ESSENCE_PATTERN = Pattern.compile("(?[A-Za-z]+) Essence x(?[0-9]+)"); private static final DecimalFormat FORMATTER = new DecimalFormat("#,###"); private static final Style GRAY = Style.EMPTY.withColor(Formatting.GRAY); - private static final Style GOLD = Style.EMPTY.withColor(0xd4a72c); + private static final Style DARK_BLUE = Style.EMPTY.withColor(Formatting.DARK_BLUE); private static final Style DARK_GREEN = Style.EMPTY.withColor(Formatting.DARK_GREEN); private static final Style DARK_RED = Style.EMPTY.withColor(Formatting.DARK_RED); @@ -166,6 +166,6 @@ public class DungeonChestProfit { } private static Text getProfitText(int profit, boolean hasIncompleteData) { - return (profit == 0) ? Text.literal(" " + FORMATTER.format(profit)).setStyle(hasIncompleteData ? GOLD : GRAY) : (profit > 0) ? Text.literal(" +" + FORMATTER.format(profit)).setStyle(hasIncompleteData ? GOLD : DARK_GREEN) : Text.literal(" " + FORMATTER.format(profit)).setStyle(hasIncompleteData ? GOLD : DARK_RED); + return (profit == 0) ? Text.literal(" " + FORMATTER.format(profit)).setStyle(hasIncompleteData ? DARK_BLUE : GRAY) : (profit > 0) ? Text.literal(" +" + FORMATTER.format(profit)).setStyle(hasIncompleteData ? DARK_BLUE : DARK_GREEN) : Text.literal(" " + FORMATTER.format(profit)).setStyle(hasIncompleteData ? DARK_BLUE : DARK_RED); } } -- cgit