From 604a86feb0b16dd04c44268a949b841d4aec08d5 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 12 Mar 2023 17:49:29 -0500 Subject: [PATCH] mob powerlist initialize directly after mobbases are loaded --- src/engine/server/world/WorldServer.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 32439f3b..eda9cbc9 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -308,7 +308,9 @@ public class WorldServer { Logger.info("Loading MobBases."); DbManager.MobBaseQueries.GET_ALL_MOBBASES(); - + //Load Static Mob Powers List + Logger.info("Loading All Mob Powers..."); + PowersManager.GatherMobPowers(); //load item enchantment values DbManager.LootQueries.LOAD_ENCHANT_VALUES(); @@ -362,11 +364,7 @@ public class WorldServer { Logger.info("Loading Support Types"); SupportMsgType.InitializeSupportMsgType(); - //Load Static Mob Power sList - Logger.info("Loading All Mob Powers..."); - PowersManager.GatherMobPowers(); //Load Buildings, Mobs and NPCs for server - getWorldBuildingsMobsNPCs(); // Configure realms for serialization