Partial refactor.
This commit is contained in:
@@ -14,7 +14,6 @@ import engine.Enum.DispatchChannel;
|
||||
import engine.Enum.MinionType;
|
||||
import engine.Enum.SupportMsgType;
|
||||
import engine.InterestManagement.RealmMap;
|
||||
import engine.InterestManagement.Terrain;
|
||||
import engine.InterestManagement.WorldGrid;
|
||||
import engine.db.archive.DataWarehouse;
|
||||
import engine.db.handlers.dbRuneBaseHandler;
|
||||
@@ -39,6 +38,7 @@ import engine.net.client.msg.UpdateStateMsg;
|
||||
import engine.net.client.msg.chat.ChatSystemMsg;
|
||||
import engine.objects.*;
|
||||
import engine.server.MBServerStatics;
|
||||
import engine.util.MapLoader;
|
||||
import engine.util.ThreadUtils;
|
||||
import engine.workthreads.DisconnectTrashTask;
|
||||
import engine.workthreads.HourlyJobThread;
|
||||
@@ -385,7 +385,7 @@ public class WorldServer {
|
||||
Blueprint.loadAllBlueprints();
|
||||
|
||||
Logger.info("Initializing Heightmap data");
|
||||
Terrain.loadAlHeightMaps();
|
||||
MapLoader.loadAlHeightMaps();
|
||||
|
||||
Logger.info("Loading Race data");
|
||||
Enum.RaceType.initRaceTypeTables();
|
||||
@@ -466,14 +466,6 @@ public class WorldServer {
|
||||
Logger.info("Starting Mob AI Thread");
|
||||
MobAIThread.startAIThread();
|
||||
|
||||
for (Zone zone : ZoneManager.getAllZones()) {
|
||||
if (zone.getHeightMap() != null) {
|
||||
if (zone.getHeightMap().cell_size_x == 0) {
|
||||
System.out.println("Zone load num: " + zone.template + " has no bucket width");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Logger.info("World data loaded.");
|
||||
|
||||
//set default accesslevel for server *** Refactor who two separate variables?
|
||||
|
||||
Reference in New Issue
Block a user