From 38b61d60744456f33a62d5e8c61c1b1388e29d23 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Fri, 24 Feb 2023 06:52:27 +0100 Subject: [PATCH] fixed bug regarding missing pname --- yl_local_server_do_on_reload.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yl_local_server_do_on_reload.lua b/yl_local_server_do_on_reload.lua index 8eb42e1..0786f53 100644 --- a/yl_local_server_do_on_reload.lua +++ b/yl_local_server_do_on_reload.lua @@ -31,7 +31,7 @@ end yl_speak_up.check_one_npc_for_migration = function(dialog, pname, n_id) -- nothing defined yet - nothing to repair if(not(dialog.n_dialogs)) then - minetest.chat_send_player(" NPC "..tostring(n_id).." has nothing to say.") + minetest.chat_send_player(pname, " NPC "..tostring(n_id).." has nothing to say.") return end local c_effect_exec_lua = 0