Improve code style

This commit is contained in:
Jakob K
2021-05-12 14:17:44 +02:00
parent 3e9b243d3d
commit cf48510756
69 changed files with 144 additions and 609 deletions

View File

@@ -11,9 +11,8 @@ data class KSpigotSound(
val sound: Sound,
var volume: Float = 1f,
var pitch: Float = 1f,
var category: SoundCategory? = null
var category: SoundCategory? = null,
) {
/**
* Plays the sound at the location. It
* will be audible for everyone near it.
@@ -37,7 +36,6 @@ data class KSpigotSound(
else
player.playSound(player.location, sound, volume, pitch)
}
}
/**