We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f1899a commit 7645926Copy full SHA for 7645926
1 file changed
src/main/java/com/xxmicloxx/NoteBlockAPI/model/Playlist.java
@@ -69,4 +69,12 @@ public boolean hasNext(int songNumber){
69
public boolean exist(int songNumber){
70
return songs.size() > songNumber;
71
}
72
+
73
+ /**
74
+ * Returns list of Songs in Playlist
75
+ * @return
76
+ */
77
+ public ArrayList<Song> getSongList(){
78
+ return (ArrayList<Song>) songs.clone();
79
+ }
80
0 commit comments