mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +00:00
pos_marker_manage: fix crash
This commit is contained in:
parent
f51ed36f9e
commit
12747f6524
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ wea_c.entities.pos_marker:addEventListener("update_entity", function(event)
|
||||||
ensure_player(event.player_name)
|
ensure_player(event.player_name)
|
||||||
|
|
||||||
if position_entities[event.player_name][event.i] == nil then
|
if position_entities[event.player_name][event.i] == nil then
|
||||||
minetest.log("warning", "[wea core:pos_manage:EL/update_entity] position_entities".."["..tostring(event.player_name).."]["..tostring(event.i).."] doesnt exist, event object [broken]"..--wea.inspect(event)..
|
minetest.log("warning", "[wea core:pos_manage:EL/update_entity] position_entities".."["..tostring(event.player_name).."]["..tostring(event.i).."] doesnt exist, event object "..wea_c.inspect(event).."\nPlease check WEA is up to date and then report this in https://github.com/sbrl/Minetest-WorldEditAdditions/issues/105.")
|
||||||
"\nPlease check WEA is up to date and then report this in https://github.com/sbrl/Minetest-WorldEditAdditions/issues/105.")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
wea_c.entities.pos_marker.delete(
|
wea_c.entities.pos_marker.delete(
|
||||||
|
|
Loading…
Reference in a new issue