diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-04-27 16:51:00 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-04-27 16:51:00 -0400 |
commit | d4f18d08c0d10a6b474547aa62fd13ecc5172c10 (patch) | |
tree | 677ec9526613a4ae35ddcc8b4f46efed3271ef94 | |
parent | 1a5b1b46912fa50c2b030700bb4b9503d07a0980 (diff) |
Avoid prepending "Server -!- " to messages sent using the command block.
-rw-r--r-- | mesecons_commandblock/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index 7ec6312..b84e815 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -19,7 +19,7 @@ minetest.register_chatcommand("tell", { if not minetest.env:get_player_by_name(target) then
minetest.chat_send_player(name, "Invalid target: " .. target)
end
- minetest.chat_send_player(target, name .. " whispers: " .. message)
+ minetest.chat_send_player(target, name .. " whispers: " .. message, false)
end
})
@@ -27,7 +27,7 @@ minetest.register_chatcommand("tellme", { params = "<text>",
description = "Say <text> to yourself",
func = function(name, param)
- minetest.chat_send_player(name, param)
+ minetest.chat_send_player(name, param, false)
end
})
|