From 764beb33bd1f9d8d90be8fc070d5c36cb9c0843a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 7 Jun 2023 15:31:07 -0400 Subject: [PATCH] Dispatcher moved to early in bootstrap. --- src/engine/server/world/WorldServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index b944f639..17deeb1a 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -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 { Logger.info("Initializing Client Connection Manager"); initClientConnectionManager(); - Logger.info("Starting message pumps"); - DispatchMessage.startMessagePump(); - // Run maintenance MaintenanceManager.dailyMaintenance();