mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Fix non hostile mobs staring at player after damage
This commit is contained in:
parent
e5a090168f
commit
7eee604074
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue