moved mob powers list call above mob spawning

This commit is contained in:
2023-03-12 10:50:50 -05:00
parent 83eb1a3370
commit 863c782f72
+3 -3
View File
@@ -362,6 +362,9 @@ public class WorldServer {
Logger.info("Loading Support Types"); Logger.info("Loading Support Types");
SupportMsgType.InitializeSupportMsgType(); SupportMsgType.InitializeSupportMsgType();
//Load Static Mob Power sList
Logger.info("Loading All Mob Powers...");
PowersManager.GatherMobPowers();
//Load Buildings, Mobs and NPCs for server //Load Buildings, Mobs and NPCs for server
getWorldBuildingsMobsNPCs(); getWorldBuildingsMobsNPCs();
@@ -468,9 +471,6 @@ public class WorldServer {
Logger.info("Running garbage collection..."); Logger.info("Running garbage collection...");
System.gc(); System.gc();
Logger.info("Loading All Mob Powers...");
PowersManager.GatherMobPowers();
return true; return true;
} }
protected boolean initDatabaselayer() { protected boolean initDatabaselayer() {