forked from mtcontrib/riesenpilz
Fix fence registration
This commit is contained in:
parent
8641f97af7
commit
2506909694
9
init.lua
9
init.lua
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user