mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix mobs spawn count
This commit is contained in:
parent
46394e7e1f
commit
9edf277905
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
|
-- spawn up to 4 mobs in random air blocks
|
||||||
if air then
|
if air then
|
||||||
local max = 200
|
local max = 4
|
||||||
if spawn_count_overrides[mob] then
|
if spawn_count_overrides[mob] then
|
||||||
max = spawn_count_overrides[mob]
|
max = spawn_count_overrides[mob]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue