From 2a8fcd119b36fb80acea94e36349654be09ac9d0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 2 Nov 2017 23:42:20 +0100 Subject: [PATCH] Fix vines destruction not destoying hanging vines --- mods/ITEMS/mcl_core/nodes_climb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/nodes_climb.lua b/mods/ITEMS/mcl_core/nodes_climb.lua index 886bb171d4..6e865f0d20 100644 --- a/mods/ITEMS/mcl_core/nodes_climb.lua +++ b/mods/ITEMS/mcl_core/nodes_climb.lua @@ -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,