checkIntegrity(callback) {
		if (jetpack.exists(this.jarPath()) != "file") {
			callback(new error.IntegrityMissingError());
		} else {
			checksum.file(this.jarPath(), (err, hash) => {
				if (hash != this.downloads.client.sha1) {
					callback(new error.IntegrityCorruptedError());
				} else {
					callback(null);
				}
			});
		}
	}
/**
	 * Check the integrity of the JAR file
	 *
	 * @param {Function} callback (error)
	 */
Check the integrity of the JAR file
@param {Function} callback (error)
Check the integrity of the JAR file @param { Function } callback ( error )
checkIntegrity(callback) {
		if (jetpack.exists(this.jarPath()) != "file") {
			callback(new error.IntegrityMissingError());
		} else {
			checksum.file(this.jarPath(), (err, hash) => {
				if (hash != this.downloads.client.sha1) {
					callback(new error.IntegrityCorruptedError());
				} else {
					callback(null);
				}
			});
		}
	}
checkIntegrity ( callback ) { if ( jetpack . exists ( this . jarPath ( ) ) != "file" ) { callback ( new error . IntegrityMissingError ( ) ) ; } else { checksum . file ( this . jarPath ( ) , ( err , hash ) => { if ( hash != this . downloads . client . sha1 ) { callback ( new error . IntegrityCorruptedError ( ) ) ; } else { callback ( null ) ; } } ) ; } }
Check the integrity of the JAR file
 @param {Function} callback (error)
Check the integrity of the JAR file @param { Function } callback ( error )