mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
[plantlife/ferns] Fix double drop of giant fern trunks
This commit is contained in:
parent
0212b43616
commit
58bfcadec6
|
@ -246,7 +246,6 @@ minetest.register_node("ferns:fern_trunk_big", {
|
||||||
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||||
if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then
|
if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then
|
||||||
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
|
minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||||
minetest.add_item(pos,"ferns:fern_trunk_big")
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user