Update amount of orders in messages
This commit is contained in:
1 parent
f12b80b280
commit
22e30ba949
1 file changed
+2
-2
@@ -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()))
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user