diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 68fbcee8c..a8386406e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -504,8 +504,9 @@ Class reference ---------------- EnvRef: basically ServerEnvironment and ServerMap combined. methods: -- add_node(pos, node) -- remove_node(pos) +- set_node(pos, node) +- add_node(pos, node): alias set_node(pos, node) +- remove_node(pos): equivalent to set_node(pos, "air") - get_node(pos) ^ Returns {name="ignore", ...} for unloaded area - get_node_or_nil(pos) |