fix MusicPlaylist.java

This commit is contained in:
Anthony Calosa
2023-07-04 19:59:34 +08:00
committed by GitHub
parent b96fe3dc1e
commit fb9416f072

View File

@@ -93,6 +93,6 @@ public enum MusicPlaylist {
int index = MyRandom.getRandom().nextInt(music.length); int index = MyRandom.getRandom().nextInt(music.length);
System.out.println("Looking up " +path + ForgeConstants.PATH_SEPARATOR + music[index]); System.out.println("Looking up " +path + ForgeConstants.PATH_SEPARATOR + music[index]);
return path + ForgeConstants.PATH_SEPARATOR + music[index]; return music[index].getPath();
} }
} }