Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Register fence: Allow setting nodedefs to 'false'
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 |
|
|