Skip to content
Snippets Groups Projects
Commit 573b50ab authored by mtango688's avatar mtango688 Committed by paramat
Browse files

lua_api.txt: Document how to properly clear node metadata

parent cc01c3cb
No related branches found
No related tags found
No related merge requests found
......@@ -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`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment