From 4a85a63a5c6441d685b58d4afa3f6e0086210141 Mon Sep 17 00:00:00 2001 From: Buckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:58:52 +0200 Subject: [PATCH] remove stray prints --- handlers/chat.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/handlers/chat.lua b/handlers/chat.lua index 509e034..ffc9297 100644 --- a/handlers/chat.lua +++ b/handlers/chat.lua @@ -5,7 +5,6 @@ if minetest.get_modpath("beerchat") then -- game -> ui table.insert(beerchat.cb.on_send_on_channel, function(_, msg) - print("beerchat.cb.on_send_on_channel", msg) if last_sent_msg ~= msg then -- this is not the last sent message, relay to ui mtui.send_command({ @@ -23,7 +22,6 @@ if minetest.get_modpath("beerchat") then -- ui -> game mtui.register_on_command("chat_send", function(data) - print("chat_send", data) -- remember last sent message (don't send it back to the ui in the above callback) last_sent_msg = data beerchat.send_on_channel(data) @@ -95,4 +93,4 @@ minetest.register_on_shutdown(function() message = "✖ Minetest shutting down" } }) -end) \ No newline at end of file +end)