mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Echo DMs sent with /msg (#15887)
This commit is contained in:
@@ -1275,7 +1275,7 @@ core.register_chatcommand("msg", {
|
||||
core.log("action", "DM from " .. name .. " to " .. sendto
|
||||
.. ": " .. message)
|
||||
core.chat_send_player(sendto, S("DM from @1: @2", name, message))
|
||||
return true, S("Message sent.")
|
||||
return true, S("DM sent to @1: @2", sendto, message)
|
||||
end,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user