mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
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
Block a user