Skip to content
Permalink
Browse files

Register fence: Allow setting nodedefs to 'false'

  • Loading branch information
HybridDog authored and paramat committed Aug 18, 2017
1 parent bb08429 commit f92878094660d8a25ea7f9d06a9b2a98ebdf0fad
Showing with 1 addition and 1 deletion.
  1. +1 −1 mods/default/functions.lua
@@ -297,7 +297,7 @@ function default.register_fence(name, def)
groups = {},
}
for k, v in pairs(default_fields) do
if not def[k] then
if def[k] == nil then
def[k] = v
end
end

0 comments on commit f928780

Please sign in to comment.