mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 14:05:10 +00:00
Clarify vine creeping condition
This commit is contained in:
parent
a64fd0fb66
commit
e9c4259c61
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue