aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormtango688 <mtango688@gmail.com>2016-07-28 15:40:23 -0600
committerparamat <mat.gregory@virginmedia.com>2016-07-30 03:08:21 +0100
commit573b50ab2c964466c67739406c7eae0dd302b106 (patch)
treeee5e77e8db9ec89e74c703cdf9dc89b94677076c /doc
parentcc01c3cb4d3725e0d96238fed5f69c17a7046c6d (diff)
downloadminetest-573b50ab2c964466c67739406c7eae0dd302b106.tar.gz
minetest-573b50ab2c964466c67739406c7eae0dd302b106.tar.bz2
minetest-573b50ab2c964466c67739406c7eae0dd302b106.zip
lua_api.txt: Document how to properly clear node metadata
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 4a7a3c0a0..5a2f370ef 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2641,6 +2641,7 @@ Can be gotten via `minetest.get_meta(pos)`.
* `get_inventory()`: returns `InvRef`
* `to_table()`: returns `nil` or `{fields = {...}, inventory = {list1 = {}, ...}}`
* `from_table(nil or {})`
+ * to clear metadata, use from_table(nil)
* See "Node Metadata"
### `NodeTimerRef`