aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2017-06-10 13:49:28 +0200
committerSmallJoker <mk939@ymail.com>2018-06-03 17:31:59 +0200
commit14b039f0b4c8bddc1d4760dc7277f72392385d7d (patch)
treeaa7ee4ebef0ac183e878edc183736750c89c2791
parentc399f5a5419efdafec766268af008ed24418fcd4 (diff)
downloadminetest-14b039f0b4c8bddc1d4760dc7277f72392385d7d.tar.gz
minetest-14b039f0b4c8bddc1d4760dc7277f72392385d7d.tar.bz2
minetest-14b039f0b4c8bddc1d4760dc7277f72392385d7d.zip
fix an example in lua_api (#5604)
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f3d3b1bca..2bbf18310 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2711,9 +2711,9 @@ and `minetest.auth_reload` call the authetification handler.
* Example query for `"default:gold_ingot"` will return table:
{
- [1]={type = "cooking", width = 3, output = "default:gold_ingot",
+ [1]={method = "cooking", width = 3, output = "default:gold_ingot",
items = {1 = "default:gold_lump"}},
- [2]={type = "normal", width = 1, output = "default:gold_ingot 9",
+ [2]={method = "normal", width = 1, output = "default:gold_ingot 9",
items = {1 = "default:goldblock"}}
}
* `minetest.handle_node_drops(pos, drops, digger)`