From 5017cac3662b4085fa8b7da6a0e2be476c32a7cf Mon Sep 17 00:00:00 2001 From: Elrabu <busch.elias@web.de> Date: Mon, 19 Feb 2024 19:46:18 +0100 Subject: [PATCH] eb093: update: updated server class --- .../hdm_stuttgart/battlearena/Model/Multiplayer/Server.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 cb665f12..32ee4320 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 { -- GitLab