mirror of
https://notabug.org/TenPlus1/bonemeal.git
synced 2024-11-19 23:33:47 +01:00
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