mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2025-02-17 08:33:42 +01:00
Bugfix table_map: return result
This commit is contained in:
@ -77,6 +77,7 @@ function worldeditadditions.table_map(tbl, func)
|
||||
local newval = func(value, i)
|
||||
if newval ~= nil then table.insert(tbl, newval) end
|
||||
end
|
||||
return result
|
||||
end
|
||||
|
||||
--- Filters the items in the given table using the given function.
|
||||
|
Reference in New Issue
Block a user