Browse Source

Dispatcher moved to early in bootstrap.

master
MagicBot 1 year ago
parent
commit
764beb33bd
  1. 6
      src/engine/server/world/WorldServer.java

6
src/engine/server/world/WorldServer.java

@ -281,6 +281,9 @@ public class WorldServer { @@ -281,6 +281,9 @@ public class WorldServer {
Logger.info("Initialize database layer");
initDatabaselayer();
Logger.info("Starting network Dispatcher");
DispatchMessage.startMessagePump();
Logger.info("Setting cross server session behavior");
SessionManager.setCrossServerBehavior(1); // Sets cross server behavior
@ -464,9 +467,6 @@ public class WorldServer { @@ -464,9 +467,6 @@ public class WorldServer {
Logger.info("Initializing Client Connection Manager");
initClientConnectionManager();
Logger.info("Starting message pumps");
DispatchMessage.startMessagePump();
// Run maintenance
MaintenanceManager.dailyMaintenance();

Loading…
Cancel
Save