forked from VoxeLibre/VoxeLibre
Fix mobs spawn count
This commit is contained in:
parent
46394e7e1f
commit
9edf277905
|
@ -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 New Issue