Skip to content

Commit

Permalink
fix: use getter for encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Jul 1, 2023
1 parent c968734 commit 657e622
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
- Fixed AES errors when using Velocity/BungeeCord
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ lavaplayerLibVersion=1.0.4
# Version
mavenGroup=su.plo.voice.discs
mavenArtifactId=discs
pluginVersion=1.0.4
pluginVersion=1.0.5
2 changes: 1 addition & 1 deletion src/main/kotlin/su/plo/voice/discs/DiscsPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 657e622

Please sign in to comment.