From 573b50ab2c964466c67739406c7eae0dd302b106 Mon Sep 17 00:00:00 2001 From: mtango688 Date: Thu, 28 Jul 2016 15:40:23 -0600 Subject: [PATCH] lua_api.txt: Document how to properly clear node metadata --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) 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`