mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
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/1915
This commit is contained in:
commit
2127bb3ef1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue