Fixed music download error

This commit is contained in:
yairm210
2021-10-31 10:32:50 +02:00
parent c8f2d337c3
commit 1af01dc693

View File

@ -21,7 +21,7 @@ class MusicController {
private val musicLocation = FileType.Local
const val musicPath = "music"
const val modPath = "mods"
const val musicFallbackLocation = "music/thatched-villagers.mp3"
const val musicFallbackLocation = "/music/thatched-villagers.mp3"
const val maxVolume = 0.6f // baseVolume has range 0.0-1.0, which is multiplied by this for the API
private const val ticksPerSecond = 20 // Timer frequency defines smoothness of fade-in/out
private const val timerPeriod = 1000L / ticksPerSecond