1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Echo DMs sent with /msg (#15887)

This commit is contained in:
Alex 2025-03-11 01:59:51 -07:00 committed by GitHub
parent 017318f117
commit dadd097f32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
})