Fix mobs spawn count

This commit is contained in:
Glaucos Ginez 2021-11-21 22:13:24 -03:00
parent 46394e7e1f
commit 9edf277905

View File

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