diff options
Diffstat (limited to 'clientmods')
-rw-r--r-- | clientmods/preview/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index 25a61da51..008f7ac14 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -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}))) |