From 12747f652460337e4235037efea87de5d5a3be67 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 13 Sep 2024 02:54:38 +0100 Subject: [PATCH] pos_marker_manage: fix crash --- worldeditadditions_core/core/pos_marker_manage.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worldeditadditions_core/core/pos_marker_manage.lua b/worldeditadditions_core/core/pos_marker_manage.lua index 51a8142..f7e3dae 100644 --- a/worldeditadditions_core/core/pos_marker_manage.lua +++ b/worldeditadditions_core/core/pos_marker_manage.lua @@ -117,8 +117,7 @@ wea_c.entities.pos_marker:addEventListener("update_entity", function(event) ensure_player(event.player_name) 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).. - "\nPlease check WEA is up to date and then report this in https://github.com/sbrl/Minetest-WorldEditAdditions/issues/105.") + 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.") end wea_c.entities.pos_marker.delete(