diff --git a/src/main/java/de/hdm_stuttgart/battlearena/Model/Multiplayer/Server.java b/src/main/java/de/hdm_stuttgart/battlearena/Model/Multiplayer/Server.java index cb665f1249a1351dfd07db141bf95f994eb53928..32ee4320d12999d77fc19bb1b4deae32433d779e 100644 --- a/src/main/java/de/hdm_stuttgart/battlearena/Model/Multiplayer/Server.java +++ b/src/main/java/de/hdm_stuttgart/battlearena/Model/Multiplayer/Server.java @@ -36,11 +36,11 @@ public class Server { private static String ipaddress = "localhost"; //Uncomment these lines to test the server starting manually: - public static void main(String[] args) throws IOException { //main method for testing purposes + /* public static void main(String[] args) throws IOException { //main method for testing purposes Server server = new Server(); log.info("server starting..."); server.start(4444); - } + } */ //use this method to start the server from another class public void startServer() throws IOException {