mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Make a cobweb protect from fall damage
This commit is contained in:
parent
4992a05c2b
commit
cb82e3c9c5
1 changed files with 3 additions and 0 deletions
|
@ -549,6 +549,9 @@ mcl_damage.register_modifier(function(obj, damage, reason)
|
|||
end
|
||||
return 0
|
||||
end
|
||||
if node.name == "mcl_core:cobweb" then
|
||||
return 0
|
||||
end
|
||||
end
|
||||
pos = vector.add(pos, step)
|
||||
node = minetest.get_node(pos)
|
||||
|
|
Loading…
Reference in a new issue