Is there a way to keep iron golems from spawning at my villager dungeon

minecraft 0 136

Is there a way to keep iron golems from spawning at my villager dungeo…