From f27b2d9714a505652cce61ae314d220271d11149 Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 14 Aug 2022 22:09:09 +0200 Subject: [PATCH] Fix 'spawn_in_group_min' warning --- mods/ENTITIES/mcl_mobs/spawning.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 58b8946f8..9aaa6bf48 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -513,6 +513,7 @@ if mobs_spawn then local mob_def = mob_library_worker_table[mob_index] local mob_type = minetest.registered_entities[mob_def.name].type local spawn_in_group = minetest.registered_entities[mob_def.name].spawn_in_group or 4 + local spawn_in_group_min = minetest.registered_entities[mob_def.name].spawn_in_group_min or 1 local mob_count_wide = count_mobs(pos,aoc_range,mob_type) local mob_count = count_mobs(spawning_position,32,mob_type) if mob_def