My server cannot spawn friendly mobs, pigs, cows etc

I have a server which I have downloaded a pre built map but it doesn’t spawn friendly mobs. I’ve checked the .properties files for the view distance and if mobs spawn or not. I don’t know whats the problem.