aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-08-09 11:15:05 +0200
committerGitHub <noreply@github.com>2022-08-09 11:15:05 +0200
commit2672980655cf1beae8b20cd34ae1dee3a5d74c90 (patch)
tree889df14c5dffadb389e8be88dad57f9794f2b064 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java
parent03d0dda45278c48555eeaef84724ec7358fcacaf (diff)
downloadnotenoughupdates-2672980655cf1beae8b20cd34ae1dee3a5d74c90.tar.gz
notenoughupdates-2672980655cf1beae8b20cd34ae1dee3a5d74c90.tar.bz2
notenoughupdates-2672980655cf1beae8b20cd34ae1dee3a5d74c90.zip
fixed formatting in bazaar sacks profit and abiphone warning (#209)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/BazaarSacksProfit.java6
1 files changed, 3 insertions, 3 deletions
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]");
}
}