diff options
Diffstat (limited to 'clientmods/preview/init.lua')
-rw-r--r-- | clientmods/preview/init.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua index 073ea11db..809e4f017 100644 --- a/clientmods/preview/init.lua +++ b/clientmods/preview/init.lua @@ -30,13 +30,13 @@ core.register_on_item_use(function(itemstack, pointed_thing) end) -- This is an example function to ensure it's working properly, should be removed before merge -core.register_on_receiving_chat_messages(function(message) +core.register_on_receiving_chat_message(function(message) print("[PREVIEW] Received message " .. message) return false end) -- This is an example function to ensure it's working properly, should be removed before merge -core.register_on_sending_chat_messages(function(message) +core.register_on_sending_chat_message(function(message) print("[PREVIEW] Sending message " .. message) return false end) @@ -155,4 +155,3 @@ core.register_chatcommand("privs", { return true, core.privs_to_string(minetest.get_privilege_list()) end, }) - |