From eb73bb3dd609c5df1dfb1917a6bb0ac66970e693 Mon Sep 17 00:00:00 2001 From: ltjessem Date: Thu, 5 May 2022 08:27:36 +0200 Subject: [PATCH] Wrong way around --- .../main/kotlin/com/willfp/ecoarmor/util/PlayableSound.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/util/PlayableSound.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/util/PlayableSound.kt index a0de21f..ff8d592 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/util/PlayableSound.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoarmor/util/PlayableSound.kt @@ -5,10 +5,10 @@ import org.bukkit.entity.Player class PlayableSound( private val sound: Sound, - private val pitch: Double, - val volume: Double + val volume: Double, + private val pitch: Double ) { fun play(player: Player) { player.playSound(player.location, sound, volume.toFloat(), pitch.toFloat()) } -} \ No newline at end of file +}