mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
lua_api.txt: Document how to properly clear node metadata
This commit is contained in:
parent
cc01c3cb4d
commit
573b50ab2c
@ -2641,6 +2641,7 @@ Can be gotten via `minetest.get_meta(pos)`.
|
|||||||
* `get_inventory()`: returns `InvRef`
|
* `get_inventory()`: returns `InvRef`
|
||||||
* `to_table()`: returns `nil` or `{fields = {...}, inventory = {list1 = {}, ...}}`
|
* `to_table()`: returns `nil` or `{fields = {...}, inventory = {list1 = {}, ...}}`
|
||||||
* `from_table(nil or {})`
|
* `from_table(nil or {})`
|
||||||
|
* to clear metadata, use from_table(nil)
|
||||||
* See "Node Metadata"
|
* See "Node Metadata"
|
||||||
|
|
||||||
### `NodeTimerRef`
|
### `NodeTimerRef`
|
||||||
|
Loading…
Reference in New Issue
Block a user