forked from Sokomine/yl_speak_up
fixed #4982
This commit is contained in:
parent
824d69c896
commit
d5cfe54938
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user