1
0
Fork 0

Fix vines destruction not destoying hanging vines

This commit is contained in:
Wuzzy 2017-11-02 23:42:20 +01:00
parent 1e2343d649
commit 2a8fcd119b
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ minetest.register_node("mcl_core:vine", {
after_destruct = function(pos, oldnode) after_destruct = function(pos, oldnode)
local below = {x=pos.x, y=pos.y-1, z=pos.z} local below = {x=pos.x, y=pos.y-1, z=pos.z}
local belownode = minetest.get_node(below) 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) minetest.remove_node(below)
end end
end, end,