1
0
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:
Alex
2025-03-11 01:59:51 -07:00
committed by GitHub
parent 017318f117
commit dadd097f32

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