mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Clarify vine creeping condition
This commit is contained in:
parent
a64fd0fb66
commit
e9c4259c61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user