From cf10967d18c4933227d7b6b39f9c453cdeea58a5 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 468d42af1..123981623 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -421,7 +421,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