mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 00:21:07 +01:00
Fix condition on node collision for mob projectiles
This commit is contained in:
parent
7867168c41
commit
4731ae64f0
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ function mcl_mobs.register_arrow(name, def)
|
|||
return true
|
||||
end,
|
||||
on_collide_with_solid = function(self, pos, node, nodedef)
|
||||
if nodedef or not nodedef.walkable then return end
|
||||
if not nodedef or not nodedef.walkable then return end
|
||||
|
||||
self.hit_node(self, pos, node)
|
||||
if self.drop == true then
|
||||
|
|
Loading…
Reference in a new issue