From 2672980655cf1beae8b20cd34ae1dee3a5d74c90 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 9 Aug 2022 11:15:05 +0200 Subject: fixed formatting in bazaar sacks profit and abiphone warning (#209) --- .../moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java index c80713a4..51ec28dd 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java @@ -143,13 +143,13 @@ public class BazaarSacksProfit { float extraPrice = price * amount; String priceFormat = formatter.format(extraPrice); totalPrice += extraPrice; - map.put("§a" + formatter.format(amount) + "§7x §f" + name + " §6" + priceFormat, extraPrice); + map.put("§a" + formatter.format(amount) + "§7x §f" + name + " §7for §6" + priceFormat + " coins", extraPrice); } if (showSellOrderPrice) { event.toolTip.add(4, "§7Sell order price: §6" + formatter.format(totalPrice)); } else { - event.toolTip.add(4, "§7Instantly sell price: §6" + formatter.format(totalPrice)); + event.toolTip.add(4, "§7Instant sell price: §6" + formatter.format(totalPrice)); } event.toolTip.add(4, ""); @@ -164,7 +164,7 @@ public class BazaarSacksProfit { if (!showSellOrderPrice) { event.toolTip.add("§8[Press SHIFT to show sell order price]"); } else { - event.toolTip.add("§8[Press SHIFT to show instantly sell price]"); + event.toolTip.add("§8[Press SHIFT to show instant sell price]"); } } -- cgit