Spawn: Avoid spawning outside small worlds
authorParamat <paramat@users.noreply.github.com>
Wed, 28 Aug 2019 02:19:34 +0000 (03:19 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Aug 2019 02:19:34 +0000 (03:19 +0100)
commit5c3e4b1d20ca2584b4930cd05989e680425717f9
tree8c84a3ee9108fb4195814a1dfb6059df185707fa
parent553b0f9d724fb05a2f4df4aa13a4525f288faf5d
Spawn: Avoid spawning outside small worlds

Previously, the value of 'mapgen_limit' was not used to limit the
spawn position.
If a friendly-biome spawn point is not found within a small world,
spawn point falls back to the engine spawn point, which has a larger
chance of success.
mods/spawn/init.lua