From a3415647d4ec4f015480ab99392c7e0e1b5f15f1 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 12 Nov 2022 00:30:18 +0100 Subject: [PATCH] Fix do_jump call in combat.lua --- mods/ENTITIES/mcl_mobs/combat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/combat.lua b/mods/ENTITIES/mcl_mobs/combat.lua index 05a2b00c5..d8508b3c4 100644 --- a/mods/ENTITIES/mcl_mobs/combat.lua +++ b/mods/ENTITIES/mcl_mobs/combat.lua @@ -281,7 +281,7 @@ function mob_class:smart_mobs(s, p, dist, dtime) -- will try again in 2 seconds self.path.stuck_timer = stuck_timeout - 2 elseif s.y < p1.y and (not self.fly) then - do_jump(self) --add jump to pathfinding + self:do_jump() --add jump to pathfinding self.path.following = true -- Yay, I found path! -- TODO: Implement war_cry sound without being annoying