diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-07-12 14:22:30 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-07-12 14:22:30 -0400 |
commit | ac5e801834245bcf93f720d290a36b09a2527576 (patch) | |
tree | a26c7c1d72d95c204ae88aaaa0dfb516da37a020 /Chat Commands.md | |
parent | b6bc841c395dc54603b526a6791b4109fb6b577f (diff) |
Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still.
Diffstat (limited to 'Chat Commands.md')
-rw-r--r-- | Chat Commands.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Chat Commands.md b/Chat Commands.md index 9951ca3..6bd1772 100644 --- a/Chat Commands.md +++ b/Chat Commands.md @@ -276,8 +276,8 @@ Executes <code> as a Lua chunk in the global namespace. Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.
- //luatransform minetest.env:add_node(pos, {name="default:stone"})
- //luatransform if minetest.env:get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
+ //luatransform minetest.add_node(pos, {name="default:stone"})
+ //luatransform if minetest.get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
### //mtschemcreate <file>
|