forked from your-land-mirror/minetest-flow
Don't save fields with an empty name
This commit is contained in:
parent
435efd014e
commit
238e432251
2
init.lua
2
init.lua
@ -598,7 +598,7 @@ local function parse_callbacks(tree, ctx_form, auto_name_id)
|
||||
end
|
||||
|
||||
local node_name = node.name
|
||||
if node_name then
|
||||
if node_name and node_name ~= "" then
|
||||
local value_field = default_value_fields[node.type]
|
||||
if value_field then
|
||||
-- Add the corresponding value transformer transformer to
|
||||
|
Loading…
Reference in New Issue
Block a user