mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-25 04:13:44 +01:00
Fix vines destruction not destoying hanging vines
This commit is contained in:
parent
1e2343d649
commit
2a8fcd119b
@ -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 New Issue
Block a user