🐛 Fix bugs
This commit is contained in:
@@ -187,15 +187,11 @@ class SnCommand(
|
||||
|
||||
try {
|
||||
val transactionSrv = SnBalanceService(sn);
|
||||
val transaction = transactionSrv.addBalance(amount, "Withdraw from GoatCraft", accountId);
|
||||
transactionSrv.addBalance(amount, "Withdraw from GoatCraft", accountId);
|
||||
val transactionHintComponent =
|
||||
TextComponent(
|
||||
ChatColor.GREEN.toString() + (messages["command_withdraw_done"]
|
||||
?: "Done! transaction number ") + ChatColor.WHITE + ChatColor.BOLD + "#${
|
||||
transaction.id.take(
|
||||
6
|
||||
)
|
||||
}"
|
||||
?: "Done! ")
|
||||
)
|
||||
|
||||
p0.playSound(p0.player!!, Sound.BLOCK_ANVIL_PLACE, 1.0F, 1.0F)
|
||||
|
Reference in New Issue
Block a user