1
0
mirror of https://github.com/minetest-mods/i3.git synced 2025-06-04 19:00:30 +02:00

Small tweak

This commit is contained in:
Jean-Patrick Guerrero 2021-11-07 23:12:09 +01:00
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)