From 614518c6cd97f9b87af1e785cfda21f90e205a0a Mon Sep 17 00:00:00 2001 From: teknomunk Date: Tue, 8 Oct 2024 15:34:30 +0200 Subject: [PATCH] Revert minetest.add_entity() -> mcl_mobs.spawn() from #4445 (#4679) Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4679 Reviewed-by: kno10 Co-authored-by: teknomunk Co-committed-by: teknomunk --- mods/ENTITIES/mcl_mobs/breeding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/breeding.lua b/mods/ENTITIES/mcl_mobs/breeding.lua index 559195681..426353b5a 100644 --- a/mods/ENTITIES/mcl_mobs/breeding.lua +++ b/mods/ENTITIES/mcl_mobs/breeding.lua @@ -105,7 +105,7 @@ end -- Spawn a child function mcl_mobs.spawn_child(pos, mob_type) - local child = mcl_mobs.spawn(pos, mob_type) + local child = minetest.add_entity(pos, mob_type) if not child then return end