projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc01c3c
)
lua_api.txt: Document how to properly clear node metadata
author
mtango688
<mtango688@gmail.com>
Thu, 28 Jul 2016 21:40:23 +0000
(15:40 -0600)
committer
paramat
<mat.gregory@virginmedia.com>
Sat, 30 Jul 2016 02:08:21 +0000
(
03:08
+0100)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index 4a7a3c0a0e9081e8db8f664c3ca36452a50b1a8a..5a2f370ef708934350b4b5c3f12a6f9ace1c65bf 100644
(file)
--- 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`