From d5cfe549387e4570e8828b0a9b0ee48565eebccf Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sat, 22 Jul 2023 18:28:04 +0200 Subject: [PATCH] fixed #4982 --- fs_npc_list.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_npc_list.lua b/fs_npc_list.lua index 484412d..6d9d3ab 100644 --- a/fs_npc_list.lua +++ b/fs_npc_list.lua @@ -275,7 +275,7 @@ yl_speak_up.build_cache_general_npc_list_lines = function() -- fallback if something went wrong with the position (or it's unknown) local pos_str = '- unknown -' if(not(data.pos) or not(data.pos.x) or not(data.pos.y) or not(data.pos.z)) then - pos = {x=0, y=0, z=0} + data.pos = {x=0, y=0, z=0} end pos_str = minetest.formspec_escape(minetest.pos_to_string(data.pos))