Fixed bamboo endcap top not being removed when bamboo beneath broken

This commit is contained in:
WillConker 2024-07-02 09:37:56 +01:00
parent 6feb28ab75
commit 6d435fc0a4
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,9 @@ local bamboo_def = {
minetest.add_item(new_pos, istack)
end
minetest.add_item(new_pos, istack)
-- Remove bamboo endcap top (small plantlike)
elseif node_above.name == BAMBOO_ENDCAP_TOP_NAME then
minetest.remove_node(new_pos)
end
end,
}