Merge pull request 'Fix mobs spawner count' (#1915) from TioBlocos/MineClone2:fix-mobs-spawn into master
Reviewed-on: MineClone2/MineClone2#1915
This commit is contained in:
commit
2127bb3ef1
|
@ -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