mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Fix vines destruction not destoying hanging vines
This commit is contained in:
parent
1e2343d649
commit
2a8fcd119b
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ minetest.register_node("mcl_core:vine", {
|
|||
after_destruct = function(pos, oldnode)
|
||||
local below = {x=pos.x, y=pos.y-1, z=pos.z}
|
||||
local belownode = minetest.get_node(below)
|
||||
if belownode.name == oldnode.name and mcl_core.check_vines_supported(below, belownode) then
|
||||
if belownode.name == oldnode.name and (not mcl_core.check_vines_supported(below, belownode)) then
|
||||
minetest.remove_node(below)
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue