summaryrefslogtreecommitdiff
path: root/Chat Commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'Chat Commands.md')
-rw-r--r--Chat Commands.md4
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>