Browse Source

BETA: Moving CrestCache init before ClanTable to prevent ExceptionInInitializerError

Rumen Nikiforov 13 năm trước cách đây
mục cha
commit
3e76e1ba94

+ 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();