This commit is contained in:
Sokomine 2023-07-22 18:28:04 +02:00
parent 824d69c896
commit d5cfe54938

View File

@ -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))