some bug fixes + updated engine with networking fixes

This commit is contained in:
Light2
2013-12-28 19:16:51 +01:00
parent c3cf8713bf
commit acf78858a6
14 changed files with 72 additions and 40 deletions
+6
View File
@@ -112,6 +112,7 @@ public class NGECore {
private Config config = null;
private volatile boolean isShuttingDown = false;
private long galacticTime = System.currentTimeMillis();
private ConcurrentHashMap<IoSession, Client> clients = new ConcurrentHashMap<IoSession, Client>();
@@ -541,6 +542,11 @@ public class NGECore {
}
public long getGalacticTime() {
return System.currentTimeMillis() - galacticTime;
}
}