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