Audio Player stops

The audio player ID is now based off block.getLocation().toString().getBytes(). This allows the audio player to be controlled based on the location of the jukebox!
This commit is contained in:
Navoei
2022-07-10 14:23:29 -05:00
parent af77bffaac
commit 129c22aba1
3 changed files with 17 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ public final class CustomDiscs extends JavaPlugin {
}
this.saveConfig();
File musicData = new File(this.getDataFolder() + "\\musicdata\\");
File musicData = new File(this.getDataFolder(), "musicdata");
if (!(musicData.exists())) {
musicData.mkdirs();
}