From: mtango688 Date: Thu, 28 Jul 2016 21:40:23 +0000 (-0600) Subject: lua_api.txt: Document how to properly clear node metadata X-Git-Tag: 0.4.15~298 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=573b50ab2c964466c67739406c7eae0dd302b106;p=oweals%2Fminetest.git lua_api.txt: Document how to properly clear node metadata --- diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4a7a3c0a0..5a2f370ef 100644 --- 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`