Commit 38260d19 authored by Kenix Whisperwind's avatar Kenix Whisperwind

Server loading now identifies the configuration file

parent 3f5e02df
......@@ -91,7 +91,7 @@ public final class Server implements Runnable {
public Server (String configFile) throws IOException{
config = new ServerConfiguration();
getConfig().initConfig(configFile);"Server configuration loaded");"Server configuration loaded: " + configFile);
name = getConfig().SERVER_NAME;
......@@ -243,7 +243,6 @@ public final class Server implements Runnable {
// Doing the set in two stages here such that the whole tick has access to the same values for profiling information.
final long tickStart = System.currentTimeMillis();
System.out.println("Starting tick at: " + tickStart + ", lastClientUpdate: " + lastClientUpdate);
final long lastIncomingPacketsDuration = processIncomingPackets();
final long lastEventsDuration = runGameEvents();
final long lastGameStateDuration = runGameStateUpdate();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment