fix an example in lua_api (#5604)
authorDS <vorunbekannt75@web.de>
Sat, 10 Jun 2017 11:49:28 +0000 (13:49 +0200)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
doc/lua_api.txt

index f3d3b1bcad35d3a04f5077b1f20572caf5ff4e1a..2bbf18310cd4d8f0c2f54c9b0ef18f31ccb09338 100644 (file)
@@ -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)`