Browse Source

moved mob powers list call above mob spawning

master
FatBoy-DOTC 2 years ago
parent
commit
863c782f72
  1. 6
      src/engine/server/world/WorldServer.java

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

@ -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() {

Loading…
Cancel
Save