Add server version check
This commit is contained in:
@ -43,13 +43,13 @@ public class ServerTest {
|
||||
if (server.isEnabled()) {
|
||||
String path = server.getPath();
|
||||
String type = server.getType();
|
||||
/* try {
|
||||
try {
|
||||
server.downloadJar();
|
||||
System.out.println("File downloaded.");
|
||||
} catch (FileNotFoundException e) {
|
||||
System.out.println("File was not found.");
|
||||
return;
|
||||
}*/
|
||||
}
|
||||
String ram = server.maxRam();
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
|
Reference in New Issue
Block a user