mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-11-05 18:10:38 +01:00
worldedit: Document inner working of worldedit.keep_loaded
This commit is contained in:
parent
867cd6edc7
commit
2f535dd053
|
@ -46,6 +46,9 @@ end
|
|||
|
||||
|
||||
function worldedit.keep_loaded(pos1, pos2)
|
||||
-- Create a vmanip and read the area from map, this
|
||||
-- causes all MapBlocks to be loaded into memory.
|
||||
-- This doesn't actually *keep* them loaded, unlike the name implies.
|
||||
local manip = minetest.get_voxel_manip()
|
||||
manip:read_from_map(pos1, pos2)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user