From a7450751436a95505ddda969e4ec4e70463e2f16 Mon Sep 17 00:00:00 2001
From: cora <coradelamouche@gmx.ch>
Date: Sun, 16 Oct 2022 11:28:21 +0200
Subject: [PATCH] Allow mobs to still fall when out of range

---
 mods/ENTITIES/mcl_mobs/api.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua
index ff1b6411b..ebbfa1c4b 100644
--- a/mods/ENTITIES/mcl_mobs/api.lua
+++ b/mods/ENTITIES/mcl_mobs/api.lua
@@ -3875,6 +3875,7 @@ local mob_step = function(self, dtime)
 	if not player_in_active_range(self) then
 		set_animation(self, "stand", true)
 		self.object:set_velocity(vector.new(0,0,0))
+		falling(self, pos)
 		return
 	end
 	check_item_pickup(self)