summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
authorUberi <azhang9@gmail.com>2013-12-24 14:07:42 -0500
committerUberi <azhang9@gmail.com>2013-12-24 14:07:42 -0500
commit2e41f0076dbc98561291c2bf8f257918bac7d4a2 (patch)
tree44c32540af2bd8154540fa5bec7111fb4b9cc1cd /worldedit
parent2fcea5a3c0cd47cf4248623bba490b1089cf6926 (diff)
Mark the region with an entity cube.
Diffstat (limited to 'worldedit')
-rw-r--r--worldedit/serialization.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/serialization.lua b/worldedit/serialization.lua
index 731b8d4..bbedca5 100644
--- a/worldedit/serialization.lua
+++ b/worldedit/serialization.lua
@@ -183,7 +183,7 @@ end
--loads the nodes represented by string `value` at position `originpos`, returning the number of nodes deserialized
--contains code based on [table.save/table.load](http://lua-users.org/wiki/SaveTableToFile) by ChillCode, available under the MIT license (GPL compatible)
worldedit.deserialize = function(originpos, value)
- --make area stay loaded --wip: not very performant
+ --make area stay loaded
local pos1, pos2 = worldedit.allocate(originpos, value)
local manip = minetest.get_voxel_manip()
manip:read_from_map(pos1, pos2)