Browse Source

BETA: Moving CrestCache init before ClanTable to prevent ExceptionInInitializerError

Rumen Nikiforov 13 years ago
parent
commit
3e76e1ba94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      L2J_Server_BETA/java/com/l2jserver/gameserver/GameServer.java

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/GameServer.java

@@ -247,6 +247,7 @@ public class GameServer
 		CharSummonTable.getInstance().init();
 		
 		printSection("Clans");
+		CrestCache.getInstance(); // Must be initialized before ClanTable! 
 		ClanTable.getInstance();
 		CHSiegeManager.getInstance();
 		ClanHallManager.getInstance();
@@ -293,7 +294,6 @@ public class GameServer
 		// Call to load caches
 		printSection("Cache");
 		HtmCache.getInstance();
-		CrestCache.getInstance();
 		TeleportLocationTable.getInstance();
 		UITable.getInstance();
 		PartyMatchWaitingList.getInstance();