mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-02-17 08:33:42 +01:00
For compatibility, ensure that we also clear the legacy worldedit region too
This commit is contained in:
@ -77,5 +77,9 @@ wea_c.pos:addEventListener("clear", function(event)
|
|||||||
wea_c.entities.pos_marker.delete(entity)
|
wea_c.entities.pos_marker.delete(entity)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
-- For compatibility, ensure that we also clear the legacy worldedit region too
|
||||||
|
if worldedit and worldedit.marker_update then
|
||||||
|
worldedit.marker_update(event.player_name)
|
||||||
|
end
|
||||||
position_entities[event.player_name] = nil
|
position_entities[event.player_name] = nil
|
||||||
end)
|
end)
|
Reference in New Issue
Block a user