mirror of
https://github.com/minetest-mods/i3.git
synced 2024-11-18 00:28:17 +01:00
Small tweak
This commit is contained in:
parent
5587341f2e
commit
af2c1304ac
@ -44,7 +44,8 @@ local function reset_compression(data)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function msg(name, str)
|
local function msg(name, str)
|
||||||
return core.chat_send_player(name, fmt("[i3] %s", str))
|
local prefix = "[i3]"
|
||||||
|
return core.chat_send_player(name, fmt("%s %s", core.colorize("#ff0", prefix), str))
|
||||||
end
|
end
|
||||||
|
|
||||||
local function err(str)
|
local function err(str)
|
||||||
|
Loading…
Reference in New Issue
Block a user