Skip to content
Snippets Groups Projects
Commit 6fcd49a1 authored by Gehrung Jonas's avatar Gehrung Jonas
Browse files

FIX: Empty List to ensure none of the previous elements are in the list

parent 67d1b9a4
No related branches found
Tags v0.4.6
5 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!54Update: coreMaps.json (added new maps),!45Soundeffects finally ready :) 🔊 #22
......@@ -73,6 +73,7 @@ public class MusicPlayer{
String randomPath = fileManager.getRandomFilePath(musicPaths);
String resource = fileManager.convertPathToResourcePath(randomPath);
musicPaths.clear();
Thread thread = new Thread(() -> {
Media media = new Media(getClass().getResource(resource).toExternalForm());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment