diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 87d8d7372..186fd0473 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -2049,7 +2049,7 @@ local monster_attack = function(self) player = obj.object name = obj.name or "" end - if obj.type = self.type and obj.passive == false and obj.state == "attack" and obj.attack then + if obj.type == self.type and obj.passive == false and obj.state == "attack" and obj.attack then table.insert(blacklist_attack, obj.attack) end end