Restructured the config file in preperation for server run modes

This commit is contained in:
Benjamin Elsdon
2022-04-21 13:53:50 +08:00
parent 74bce2fe18
commit 83fe5818dc
14 changed files with 77 additions and 71 deletions

View File

@@ -76,7 +76,7 @@ public final class Grasscutter {
dispatchServer = new DispatchServer();
dispatchServer.start();
gameServer = new GameServer(new InetSocketAddress(getConfig().GameServerIp, getConfig().GameServerPort));
gameServer = new GameServer(new InetSocketAddress(getConfig().getGameServerOptions().Ip, getConfig().getGameServerOptions().Port));
gameServer.start();
// Open console.