1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Give CSM access to use core.colorize() (#5113)

This commit is contained in:
red-001
2017-03-17 18:20:13 +00:00
committed by Loïc Blot
parent 7b74f04a61
commit d31750cb93
4 changed files with 74 additions and 33 deletions

View File

@@ -40,6 +40,12 @@ core.register_chatcommand("dump", {
end,
})
core.register_chatcommand("colorize_test", {
func = function(param)
return true, core.colorize("red", param)
end,
})
core.register_chatcommand("test_node", {
func = function(param)
core.display_chat_message(dump(core.get_node({x=0, y=0, z=0})))