mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-29 18:33:01 +00:00
added anti-nil safety measure
This commit is contained in:
parent
9efaecc13a
commit
8ef1d348d2
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ local function handle_fn_result(...)
|
|||
"\" with no other output."
|
||||
}, "")
|
||||
end
|
||||
return success, ret
|
||||
return success or false, ret
|
||||
end
|
||||
|
||||
return handle_fn_result
|
Loading…
Reference in a new issue