mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
first usage of handle_fn_result
This commit is contained in:
parent
0915a83151
commit
9efaecc13a
2 changed files with 4 additions and 2 deletions
|
@ -59,6 +59,8 @@ wea_c.register_command("test", {
|
|||
tests[params_text[1]]:help()}, " ")
|
||||
end
|
||||
end
|
||||
return tests[subcommand](name, params_text)
|
||||
return wea_c.format.handle_fn_result(
|
||||
tests[subcommand](name, params_text)
|
||||
)
|
||||
end
|
||||
})
|
Loading…
Reference in a new issue