Remove core.colorize
This commit is contained in:
parent
aef179d878
commit
968f655466
2
init.lua
2
init.lua
@ -161,7 +161,7 @@ minetest.register_chatcommand("cmsg", {
|
|||||||
else
|
else
|
||||||
local target = minetest.get_player_by_name(targetname)
|
local target = minetest.get_player_by_name(targetname)
|
||||||
if not target then
|
if not target then
|
||||||
return false, core.colorize("#FF0000", "The player "..targetname.." is not online.")
|
return false, "The player "..targetname.." is not online."
|
||||||
end
|
end
|
||||||
cmsg.push_message_player(target, text)
|
cmsg.push_message_player(target, text)
|
||||||
return true, "Message sent."
|
return true, "Message sent."
|
||||||
|
Loading…
Reference in New Issue
Block a user