From 4731ae64f0ed96ddda268ff88559cac9b9dd8dec Mon Sep 17 00:00:00 2001 From: teknomunk Date: Thu, 14 Nov 2024 06:36:49 -0600 Subject: [PATCH] Fix condition on node collision for mob projectiles --- mods/ENTITIES/mcl_mobs/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/init.lua b/mods/ENTITIES/mcl_mobs/init.lua index cb9dd2d8a..bc3dfc7a6 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -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