diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-03-14 14:01:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 15:01:22 +0100 |
commit | 1441281809d9961ff7498df86601db151956b030 (patch) | |
tree | 7f4fc3b4c490cd62337cfefa3e5dcd785e37cb31 /builtin/common | |
parent | 8546d6089a89a4e34219fc10af088394a2eb3b1c (diff) | |
download | minetest-1441281809d9961ff7498df86601db151956b030.tar.gz minetest-1441281809d9961ff7498df86601db151956b030.tar.bz2 minetest-1441281809d9961ff7498df86601db151956b030.zip |
Fix some chatcommands not returning a value (#9503)
Diffstat (limited to 'builtin/common')
-rw-r--r-- | builtin/common/information_formspecs.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/common/information_formspecs.lua b/builtin/common/information_formspecs.lua index b977e2656..8afa5bc87 100644 --- a/builtin/common/information_formspecs.lua +++ b/builtin/common/information_formspecs.lua @@ -136,14 +136,14 @@ help_command.func = function(name, param) core.show_formspec(name, "__builtin:help_privs", build_privs_formspec(name)) if name ~= admin then - return + return true end end if param == "" or param == "all" then core.show_formspec(name, "__builtin:help_cmds", build_chatcommands_formspec(name)) if name ~= admin then - return + return true end end |