mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Remove "Server -!- " prefix from player messages
This commit is contained in:
parent
18fd913e69
commit
9a3b7715e2
5 changed files with 7 additions and 15 deletions
|
@ -710,7 +710,7 @@ minetest.register_chatcommand("msg", {
|
|||
if found then
|
||||
if minetest.get_player_by_name(sendto) then
|
||||
minetest.log("action", "PM from "..name.." to "..sendto..": "..message)
|
||||
minetest.chat_send_player(sendto, "PM from "..name..": "..message, false)
|
||||
minetest.chat_send_player(sendto, "PM from "..name..": "..message)
|
||||
minetest.chat_send_player(name, "Message sent")
|
||||
else
|
||||
minetest.chat_send_player(name, "The player "..sendto.." is not online")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue