mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-01-09 05:57:35 +01:00
first usage of handle_fn_result
This commit is contained in:
parent
0915a83151
commit
9efaecc13a
@ -59,6 +59,8 @@ wea_c.register_command("test", {
|
|||||||
tests[params_text[1]]:help()}, " ")
|
tests[params_text[1]]:help()}, " ")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return tests[subcommand](name, params_text)
|
return wea_c.format.handle_fn_result(
|
||||||
|
tests[subcommand](name, params_text)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user