Merge pull request 'Fix mobs spawner count' (#1915) from TioBlocos/MineClone2:fix-mobs-spawn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1915new_mapgen_api
commit
2127bb3ef1
|
@ -230,7 +230,7 @@ local function spawn_mobs(pos, elapsed)
|
|||
|
||||
-- spawn up to 4 mobs in random air blocks
|
||||
if air then
|
||||
local max = 200
|
||||
local max = 4
|
||||
if spawn_count_overrides[mob] then
|
||||
max = spawn_count_overrides[mob]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue