return jingleNoteManager;
}
@EventHandler
public void onJoin(PlayerJoinEvent event) {
MidiJingleSequencer sequencer;
try {
File file = new File(CommandBook.inst().getDataFolder(), "intro.mid");
if (file.exists()) {
sequencer = new MidiJingleSequencer(file, false);
getJingleNoteManager().play(event.getPlayer().getName(), sequencer);
}
} catch (MidiUnavailableException e) {
CommandBook.logger().log(Level.WARNING, "Failed to access MIDI: "
+ e.getMessage());