Bläddra i källkod

load geo before npcs.

JIV 15 år sedan
förälder
incheckning
ee4d9b5572
1 ändrade filer med 5 tillägg och 7 borttagningar
  1. 5 7
      L2_GameServer/java/com/l2jserver/gameserver/GameServer.java

+ 5 - 7
L2_GameServer/java/com/l2jserver/gameserver/GameServer.java

@@ -243,7 +243,11 @@ public class GameServer
 		ClanTable.getInstance();
 		ClanHallManager.getInstance();
 		AuctionManager.getInstance();
-
+		
+		printSection("Geodata");
+		GeoData.getInstance();
+		if (Config.GEODATA == 2)
+			PathFinding.getInstance();
 		
 		printSection("NPCs");
 		NpcTable.getInstance();
@@ -265,7 +269,6 @@ public class GameServer
 		FourSepulchersManager.getInstance().init();
 		DimensionalRiftManager.getInstance();
 		EventDroplist.getInstance();
-
 		
 		printSection("Siege");
 		SiegeManager.getInstance().getSieges();
@@ -294,11 +297,6 @@ public class GameServer
 		AugmentationData.getInstance();
 		CursedWeaponsManager.getInstance();
 		
-		printSection("Geodata");
-		GeoData.getInstance();
-		if (Config.GEODATA == 2)
-			PathFinding.getInstance();
-		
 		printSection("Scripts");
 		QuestManager.getInstance();
 		TransformationManager.getInstance();