try {
if ((j2DClient.class.getClassLoader().getResource("data/sound/harp-1.ogg") != null)
|| (j2DClient.class.getClassLoader().getResource("data/music/the_old_tavern.ogg") != null)) {
soundSystemFacade = new games.stendhal.client.sound.sound.SoundSystemFacadeImpl();
} else {
soundSystemFacade = new NoSoundFacade();
}
} catch (RuntimeException e) {
soundSystemFacade = new NoSoundFacade();
logger.error(e, e);
}
}
return soundSystemFacade;
}