implemented self host for server

This commit is contained in:
Johannes Schmelz
2024-11-18 23:01:34 +01:00
parent 0b46d14650
commit e2126a7ea7
6 changed files with 58 additions and 37 deletions

View File

@@ -65,7 +65,7 @@ public class MonopolyServer implements MessageListener<HostedConnection>, Connec
/**
* Creates the server.
*/
MonopolyServer() {
public MonopolyServer() {
config.readFromIfExists(CONFIG_FILE);
LOGGER.log(Level.INFO, "Configuration: {0}", config); //NON-NLS
logic = new ServerGameLogic(this, config);