forked from VoxeLibre/VoxeLibre
Make vine protect from fall damage
This commit is contained in:
parent
5f82e76862
commit
0d619ec6a8
|
@ -549,6 +549,9 @@ mcl_damage.register_modifier(function(obj, damage, reason)
|
||||||
if node.name == "mcl_core:cobweb" then
|
if node.name == "mcl_core:cobweb" then
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
if node.name == "mcl_core:vine" then
|
||||||
|
return 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
pos = vector.add(pos, step)
|
pos = vector.add(pos, step)
|
||||||
node = minetest.get_node(pos)
|
node = minetest.get_node(pos)
|
||||||
|
|
Loading…
Reference in New Issue