Fix null ref on inventory server.