mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Colored chat working as expected for both freetype and non-freetype builds. @nerzhul improvements * Add unit tests * Fix coding style * move guiChatConsole.hpp to client/
This commit is contained in:
parent
0e44af9f70
commit
1d40385d4a
13 changed files with 998 additions and 28 deletions
|
@ -102,7 +102,7 @@ core.register_chatcommand("help", {
|
|||
description = "Get help for commands or list privileges",
|
||||
func = function(name, param)
|
||||
local function format_help_line(cmd, def)
|
||||
local msg = "/"..cmd
|
||||
local msg = core.colorize("00ffff", "/"..cmd)
|
||||
if def.params and def.params ~= "" then
|
||||
msg = msg .. " " .. def.params
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue