aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index ff745c1c2..9a1cb6bac 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2781,8 +2781,9 @@ 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)
+ * Any non-table value will clear the metadata
* See "Node Metadata"
+ * returns `true` on success
### `NodeTimerRef`
Node Timers: a high resolution persistent per-node timer.