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:
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user