itsapi / pycraft

A Minecraft-inspired game for the terminal
GNU General Public License v2.0
198 stars 21 forks source link

Don't spawn mobs close to player #140

Closed geraintwhite closed 7 years ago

geraintwhite commented 7 years ago

Have a radius around the player where mobs don't spawn so we don't have mobs spawning on top of us.

olls commented 7 years ago

Will not work correctly if more than one players are within spawn_player_range_min of the test spawn position.