Revert minetest.add_entity() -> mcl_mobs.spawn() from #4445 #4679

Merged
the-real-herowl merged 1 commits from revert-breeding-room-check into master 2024-10-08 15:34:32 +02:00
1 changed files with 1 additions and 1 deletions

View File

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