From c98df597fc9b6f64406d977899957fdc65ee9496 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 9 Mar 2019 00:18:21 +0100 Subject: [PATCH] Fix mob detection of fences and walls --- mods/ENTITIES/mcl_mobs/api.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 7c66a5f52..e331cf72b 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -788,7 +788,8 @@ local do_jump = function(self) or minetest.registered_items[nod.name].walkable then if not nod.name:find("fence") - and not nod.name:find("gate") then + and not nod.name:find("fence_gate") + and not nod.name:find("wall") then local v = self.object:get_velocity()