1
0
Fork 0

Merge pull request 'Fix mobs spawner count' (#1915) from TioBlocos/MineClone2:fix-mobs-spawn into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1915
new_mapgen_api
NO11 2021-11-22 12:06:12 +00:00
commit 2127bb3ef1
1 changed files with 1 additions and 1 deletions

View File

@ -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