mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Remove check with mcl_core.check_vines_supported for twisted and crimson vines
This commit is contained in:
parent
189a2c62ad
commit
6ada1a3477
1 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ minetest.register_node("mcl_crimson:twisting_vines", {
|
|||
local above = vector.offset(pos,0,1,0)
|
||||
local abovenode = minetest.get_node(above)
|
||||
minetest.node_dig(pos, node, digger)
|
||||
if abovenode.name == node.name and (not mcl_core.check_vines_supported(above, abovenode)) then
|
||||
if abovenode.name == node.name then
|
||||
minetest.registered_nodes[node.name].on_dig(above, node, digger)
|
||||
end
|
||||
end,
|
||||
|
@ -294,7 +294,7 @@ minetest.register_node("mcl_crimson:weeping_vines", {
|
|||
local below = vector.offset(pos,0,-1,0)
|
||||
local belownode = minetest.get_node(below)
|
||||
minetest.node_dig(pos, node, digger)
|
||||
if belownode.name == node.name and (not mcl_core.check_vines_supported(below, belownode)) then
|
||||
if belownode.name == node.name then
|
||||
minetest.registered_nodes[node.name].on_dig(below, node, digger)
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue