From 7eee60407454df8133869e7c6f5c2e30f8cfc1ac Mon Sep 17 00:00:00 2001 From: epCode <64379263+epCode@users.noreply.github.com> Date: Thu, 9 Jun 2022 09:46:27 -0700 Subject: [PATCH] Fix non hostile mobs staring at player after damage --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 07b04b1af..828d10a56 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3670,7 +3670,7 @@ local mob_step = function(self, dtime) end end - if self.attack then + if self.attack and self.type == "monster" then self._locked_object = self.attack end