From 672e44bbb1692f1539ae70b9d5e257c2d56089a7 Mon Sep 17 00:00:00 2001 From: cora Date: Wed, 26 Oct 2022 11:47:35 +0200 Subject: [PATCH] Don't spawn multiple mobs at the same position this was originally intended to simulate group spawning i think --- mods/ENTITIES/mcl_mobs/spawning.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 371407c4e..9bc7a6780 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -716,9 +716,7 @@ if mobs_spawn then -- ignore void and unloaded area if dimension ~= "void" and dimension ~= "default" then local y_min, y_max = decypher_limits(pos.y) - for i = 1, math_random(1, 4) do - spawn_a_mob(pos, dimension, y_min, y_max) - end + spawn_a_mob(pos, dimension, y_min, y_max) end end end)