9
0
mirror of https://github.com/Auxilor/EcoArmor.git synced 2025-12-26 18:39:24 +00:00

Wrong way around

This commit is contained in:
ltjessem
2022-05-05 08:27:36 +02:00
committed by GitHub
parent 9bdff4664b
commit eb73bb3dd6

View File

@@ -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())
}
}
}