From a1b444bb61e6c9dcb0581a8550fd7795a3555cec Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Wed, 17 Jun 2020 13:59:02 -0400 Subject: [PATCH] Fix typo (#10043) --- doc/menu_lua_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 4eccf5d10..724e37855 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -11,7 +11,7 @@ Description of formspec language to show your menu is in lua_api.txt Callbacks --------- -core.buttonhandler(fields): called when a button is pressed. +core.button_handler(fields): called when a button is pressed. ^ fields = {name1 = value1, name2 = value2, ...} core.event_handler(event) ^ event: "MenuQuit", "KeyEnter", "ExitButton" or "EditBoxEnter" -- 2.25.1