moved mob powers list call above mob spawning
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user