private void EnsurePet(ref NPC npc, NPCPool pool) { npc = pool.CreateMob(); npc.EnsureInWorldAndLiving(); }