mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 22:22:23 +01:00
For compatibility, ensure that we also clear the legacy worldedit region too
This commit is contained in:
parent
bfecc2da80
commit
141ea2f0a7
@ -77,5 +77,9 @@ wea_c.pos:addEventListener("clear", function(event)
|
||||
wea_c.entities.pos_marker.delete(entity)
|
||||
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
|
||||
end)
|
Loading…
Reference in New Issue
Block a user