forked from mtcontrib/bonemeal
ignore xdecor's flowerpots when adding flowers
This commit is contained in:
parent
8fc57f7746
commit
634d1496aa
5
init.lua
5
init.lua
@ -70,7 +70,10 @@ minetest.after(0.1, function()
|
||||
|
||||
for node, def in pairs(minetest.registered_nodes) do
|
||||
|
||||
if def.groups.flower and not node:find("waterlily") then
|
||||
if def.groups
|
||||
and def.groups.flower
|
||||
and not node:find("waterlily")
|
||||
and not node:find("xdecor:potted_") then
|
||||
flowers[#flowers + 1] = node
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user