Monster spawn bug

Monsters spawn top of the village and Monsters can not reach the village

And I know if ı make stairs monster can reach my village but thats bug monster automatically reachable my village