mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-01-07 21:17:35 +01:00
added anti-nil safety measure
This commit is contained in:
parent
9efaecc13a
commit
8ef1d348d2
@ -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 New Issue
Block a user