public void RegisterNPC(ServerNPC npc) { npc.Init(networking.GetNextEntityID(), networking); lock (newNPCLock) { newNPCs.Add(npc); } }