1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-06-30 23:20:40 +02:00

Fix bugs in visualization API and make it ore robust. Fix bugs in //fixedpos, //suppress, and //highlight.

This commit is contained in:
Anthony Zhang
2013-07-28 18:15:46 -04:00
parent b252df2166
commit c1f3cfc1e4
4 changed files with 30 additions and 36 deletions

View File

@ -33,7 +33,7 @@ worldedit.valueversion = function(value)
end
--converts the region defined by positions `pos1` and `pos2` into a single string, returning the serialized data and the number of nodes serialized
worldedit.serialize = function(pos1, pos2) --wip: check for ItemStacks and whether they can be serialized
worldedit.serialize = function(pos1, pos2)
--make area stay loaded
local manip = minetest.get_voxel_manip()
manip:read_from_map(pos1, pos2)