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 { @@ -362,6 +362,9 @@ 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();
@ -468,9 +471,6 @@ public class WorldServer { @@ -468,9 +471,6 @@ public class WorldServer {
Logger.info("Running garbage collection...");
System.gc();
Logger.info("Loading All Mob Powers...");
PowersManager.GatherMobPowers();
return true;
}
protected boolean initDatabaselayer() {

Loading…
Cancel
Save