Show market per-item prices

This commit is contained in:
CoalGov Deploy
2026-05-04 17:04:17 +00:00
parent c8cc200004
commit a42ee3e97c

View File

@@ -43,8 +43,10 @@ public final class MarketService {
"&7Click: buy 1", "&7Click: buy 1",
"&7Shift-click: buy 64", "&7Shift-click: buy 64",
"&7Stock: " + quote.stock(), "&7Stock: " + quote.stock(),
"&7Buy each: " + CoalMoney.format(CoalMoney.fromCoal(quote.buyUnitPrice())),
"&7Buy 1: " + CoalMoney.format(buyCost(quote, 1)), "&7Buy 1: " + CoalMoney.format(buyCost(quote, 1)),
"&7Buy 64: " + CoalMoney.format(buyCost(quote, 64)), "&7Buy 64: " + CoalMoney.format(buyCost(quote, 64)),
"&7Sell each: " + CoalMoney.format(CoalMoney.fromCoal(quote.sellUnitPrice())),
"&7Sell: " + CoalMoney.format(CoalMoney.fromCoal(quote.sellUnitPrice() * 64.0D)) + " per 64" "&7Sell: " + CoalMoney.format(CoalMoney.fromCoal(quote.sellUnitPrice() * 64.0D)) + " per 64"
))); )));
} }