lua_api.txt: Document how to properly clear node metadata

master
mtango688 2016-07-28 15:40:23 -06:00 committed by paramat
parent cc01c3cb4d
commit 573b50ab2c
1 changed files with 1 additions and 0 deletions

View File

@ -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`