1 Commits

Author SHA1 Message Date
2506909694 Fix fence registration 2021-11-01 14:05:11 +01:00

View File

@ -1041,7 +1041,14 @@ for _, ndata in ipairs({
if add_fence if add_fence
and ndata.fence ~= false then and ndata.fence ~= false then
add_fence({fence_of = nodename}) add_fence(
nodename.."_fence",
{
material = nodename,
texture = textures[#textures],
groups = node_groups,
sounds = sounds,
})
end end
end end