Updated the ServerManager.java

This commit is contained in:
Mathias Wagner 2024-02-14 14:43:06 +01:00
parent 6a65daa579
commit 10613fff9b
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -71,7 +71,7 @@ public class ServerManager {
if (file.isDirectory() && new File(file, "mcdash.json").exists()) {
if (getServer(file.getName()) != null) continue;
servers.add(new Server(file.getName(), ServerStatus.OFFLINE, new File(file, "mcdash.json")));
servers.add(new Server(file.getName(), ServerStatus.OFFLINE, file));
}
}
}