This commit is contained in:
2018-01-25 21:21:06 +01:00
parent fdb02a6428
commit f4e048a5df
2 changed files with 5 additions and 10 deletions

View File

@ -11,9 +11,9 @@ import java.util.ArrayList;
/**
* Contains all necessary information to create, run and manage a Minecraft server.
*
* @author Kristian Knarvik <kristian.knarvik@knett.no>
* @version 0.0.0.1
* @since 0.0.0.1
* @author Kristian Knarvik <kristian.knarvik@knett.no>
* @version 0.0.0.1
* @since 0.0.0.1
*/
public class Server {
/**
@ -56,7 +56,7 @@ public class Server {
}
}
public String getType() {
private String getType() {
return this.type.getName() + this.serverVersion + ".jar";
}
@ -138,7 +138,7 @@ public class Server {
*
* @throws FileNotFoundException if the file was not found and could not be acquired.
*/
public void downloadJar() throws FileNotFoundException {
private void downloadJar() throws FileNotFoundException {
AdvancedServerType type;
File file = new File(this.path + "\\" + this.getType());
Path filePath = Paths.get(this.path + "\\" + this.getType());