mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Update data versions and cleanup some stuff
This commit is contained in:
@@ -44,6 +44,7 @@ public class GameContext implements Runnable {
|
||||
private int epochMonths;
|
||||
|
||||
public GameContext() {
|
||||
// Create session map
|
||||
this.sessions = new Object2ObjectOpenHashMap<>();
|
||||
|
||||
// Setup game modules
|
||||
@@ -85,7 +86,6 @@ public class GameContext implements Runnable {
|
||||
this.sessions.put(session.getToken(), session);
|
||||
}
|
||||
|
||||
// TODO add timeout to config
|
||||
public synchronized void cleanupInactiveSessions() {
|
||||
var it = this.getSessions().entrySet().iterator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user