mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-01-08 17:20:24 +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
|
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
|
flowers[#flowers + 1] = node
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user