From e9c4259c619247234196e019bf7cd2e1141d5e0f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 12 Aug 2017 04:14:46 +0200 Subject: [PATCH] Clarify vine creeping condition --- mods/ITEMS/mcl_core/nodes_climb.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/nodes_climb.lua b/mods/ITEMS/mcl_core/nodes_climb.lua index abdf37d02..fc3d7b93e 100644 --- a/mods/ITEMS/mcl_core/nodes_climb.lua +++ b/mods/ITEMS/mcl_core/nodes_climb.lua @@ -154,7 +154,8 @@ minetest.register_node("mcl_core:vine", { local dir = minetest.wallmounted_to_dir(belownode.param2) local support = vector.add(below, dir) local supportnode = minetest.get_node(support) - if not minetest.registered_nodes[supportnode.name].walkable then + -- supporting block = walkable + solid + if not minetest.registered_nodes[supportnode.name].walkable and minetest.get_item_group(supportnode.name, "solid") ~= 1 then minetest.remove_node(below) end end