Show market per-item prices
This commit is contained in:
@@ -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"
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user