diff options
author | Bluebird <bluebird.greycoat@gmail.com> | 2016-12-02 04:20:55 -0600 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2016-12-02 20:20:55 +1000 |
commit | 144da5f522bf057ac612ef1fa09478d0215f6d0d (patch) | |
tree | 78105b716345a2fe4eff99d5870e36e86126991d | |
parent | 105676b952484affdb97164eceaf4cb903955373 (diff) | |
download | minetest-144da5f522bf057ac612ef1fa09478d0215f6d0d.tar.gz minetest-144da5f522bf057ac612ef1fa09478d0215f6d0d.tar.bz2 minetest-144da5f522bf057ac612ef1fa09478d0215f6d0d.zip |
Very small documentation fix. (#4830)
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 092704c04..61e035fce 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2134,7 +2134,7 @@ and `minetest.auth_reload` call the authetification handler. * `minetest.set_node(pos, node)` * `minetest.add_node(pos, node): alias set_node(pos, node)` * Set node at position (`node = {name="foo", param1=0, param2=0}`) -* `minetest.swap_node(pos, node` +* `minetest.swap_node(pos, node)` * Set node at position, but don't remove metadata * `minetest.remove_node(pos)` * Equivalent to `set_node(pos, "air")` @@ -2340,7 +2340,7 @@ and `minetest.auth_reload` call the authetification handler. * `formname`: has to exactly match the one given in show_formspec, or the formspec will not close. * calling show_formspec(playername, formname, "") is equal to this expression - * to close a formspec regardless of the formname, call + * to close a formspec regardless of the formname, call minetest.close_formspec(playername, ""). USE THIS ONLY WHEN ABSOLUTELY NECESSARY! * `minetest.formspec_escape(string)`: returns a string * escapes the characters "[", "]", "\", "," and ";", which can not be used in formspecs |