if (effect == null)
if (effect == null) { System.err.println("NULL DETECTED");
	public void loop(String name) {		ISound effect= EffectRepository.getRepository().getSource(name);		if (effect == null)			return;		status= LOOPING;		AL.alGetError();		if (AL.alGetError() != AL.AL_NO_ERROR) {			System.err.println("Error generating audio source.");		}		AL.alSourcei(sourceNumber, AL.AL_BUFFER, effect.getID());		AL.alSourcef(sourceNumber, AL.AL_PITCH, getPitch());		AL.alSourcef(sourceNumber, AL.AL_GAIN, getVolume());		AL.alSource3f(sourceNumber, AL.AL_POSITION, position.x, position.y, position.z);		AL.alSource3f(sourceNumber, AL.AL_VELOCITY, velocity.x, velocity.y, velocity.z);		AL.alSourcei(sourceNumber, AL.AL_LOOPING, AL.AL_TRUE);		AL.alSourcePlay(sourceNumber);	}