From ac5e801834245bcf93f720d290a36b09a2527576 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Fri, 12 Jul 2013 14:22:30 -0400 Subject: Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still. --- Chat Commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Chat Commands.md') 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 as a Lua chunk in the global namespace. Executes 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 -- cgit v1.2.3