diff --git a/changelog.md b/changelog.md index 219c7c4..a8b80cb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,2 +1 @@ -- relocate lavaplayer to fix conflicts with other plugins -### [pv-addon-lavaplayer-lib 1.0.4+](https://modrinth.com/plugin/pv-addon-lavaplayer-lib/version/1.0.4) required \ No newline at end of file +- Fixed AES errors when using Velocity/BungeeCord diff --git a/gradle.properties b/gradle.properties index f1001ed..cf773d4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,4 +6,4 @@ lavaplayerLibVersion=1.0.4 # Version mavenGroup=su.plo.voice.discs mavenArtifactId=discs -pluginVersion=1.0.4 +pluginVersion=1.0.5 diff --git a/src/main/kotlin/su/plo/voice/discs/DiscsPlugin.kt b/src/main/kotlin/su/plo/voice/discs/DiscsPlugin.kt index f762bf1..7f34cfd 100644 --- a/src/main/kotlin/su/plo/voice/discs/DiscsPlugin.kt +++ b/src/main/kotlin/su/plo/voice/discs/DiscsPlugin.kt @@ -28,7 +28,7 @@ import su.plo.voice.discs.packet.CancelJukeboxPlayEvent @Addon( id = "pv-addon-discs", scope = AddonLoaderScope.SERVER, - version = "1.0.2", + version = "1.0.5", authors = ["KPidS"] ) class DiscsPlugin : JavaPlugin() { diff --git a/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt b/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt index 80bad7c..9a98b32 100644 --- a/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt +++ b/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt @@ -27,7 +27,8 @@ class PlasmoAudioPlayerManager( ) { private val lavaPlayerManager: AudioPlayerManager = DefaultAudioPlayerManager() private val scope = CoroutineScope(Dispatchers.Default) - private val encrypt: Encryption = plugin.voiceServer.defaultEncryption + private val encrypt: Encryption + get() = plugin.voiceServer.defaultEncryption init { registerSources()