return;
}
volumePercent = event.getVolumePercent();
}
SpoutCraftPlayer ccp = (SpoutCraftPlayer) target;
ccp.sendPacket(new PacketDownloadMusic(plugin != null ? plugin.getDescription().getName() : "temp", Url, location, distance, volumePercent, soundEffect, notify));
}
} else {
throw new UnsupportedOperationException("All audio files must be ogg vorbis, wav, or midi type");
}
}