mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-26 10:50:42 +01:00
Small tweak
This commit is contained in:
parent
5587341f2e
commit
af2c1304ac
@ -44,7 +44,8 @@ local function reset_compression(data)
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
local function err(str)
|
||||
|
Loading…
Reference in New Issue
Block a user