Update amount of orders in messages
This commit is contained in:
parent
f12b80b280
commit
22e30ba949
|
|
@ -173,8 +173,8 @@ public class TransactionListener extends EventListener {
|
|||
// TODO minimessage placeholders
|
||||
TagResolver placeholders = TagResolver.resolver(
|
||||
Placeholder.unparsed("ownername", shop.getOwnerName()),
|
||||
Placeholder.unparsed("price", shop.getPrice() + ""),
|
||||
Placeholder.unparsed("amount", shop.getAmount() + ""),
|
||||
Placeholder.unparsed("price", shop.getPrice() * orders + ""),
|
||||
Placeholder.unparsed("amount", shop.getAmount() * orders + ""),
|
||||
Placeholder.component("item", ShopUtil.itemNameComponent(shop.getItemStack())),
|
||||
Placeholder.unparsed("location", formatLocation(shop.getShopLocation()))
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user