File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/main/java/pro/cloudnode/smp/bankaccounts Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -836,12 +836,10 @@ public int invoicePerPage() {
836836 .replace ("<to-balance-short>" , BankAccounts .formatCurrencyShort (to .balance ))
837837 .replace ("<amount>" , amount .toPlainString ())
838838 .replace ("<amount-formatted>" , BankAccounts .formatCurrency (amount ))
839- .replace ("<amount-short>" , BankAccounts .formatCurrencyShort (amount )),
839+ .replace ("<amount-short>" , BankAccounts .formatCurrencyShort (amount ))
840+ .replace ("<confirm-command>" , "/bank transfer --confirm " + from .id + " " + to .id + " " + amount .toPlainString () + (description == null ? "" : " " + description )),
840841 Placeholder .component ("description" , description == null ? MiniMessage .miniMessage ().deserialize ("<gray><i>no description</i>" ) : Component .text (description ))
841- ).replaceText (configurer -> {
842- configurer .matchLiteral ("<confirm-command>" );
843- configurer .replacement (Component .text ("/bank transfer --confirm " + from .id + " " + to .id + " " + amount .toPlainString () + (description == null ? "" : " " + description )));
844- });
842+ );
845843 }
846844
847845 // messages.transfer-sent
You can’t perform that action at this time.
0 commit comments