Fix fence registration

This commit is contained in:
bri cassa 2021-11-01 14:05:11 +01:00
parent 8641f97af7
commit 2506909694

View File

@ -1041,7 +1041,14 @@ for _, ndata in ipairs({
if add_fence
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