-Dropped Javolution.
-Removal of Q00344_1000YearsTheEndOfLamentation. -Fixed starting conditions for Q00144_PailakaInjuredDragon. -Fixed starting conditions for last Seven Sign quests. -Added missing MonasteryOfSilence.xml instance spawns and doors. -Removed many catacomb spawns.
This commit is contained in:
@@ -21,9 +21,8 @@ package com.l2jserver.gameserver.model.olympiad;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javolution.util.FastList;
|
||||
import javolution.util.FastMap;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.ThreadPoolManager;
|
||||
@@ -47,9 +46,9 @@ public class OlympiadManager
|
||||
|
||||
protected OlympiadManager()
|
||||
{
|
||||
_nonClassBasedRegisters = new FastList<Integer>().shared();
|
||||
_classBasedRegisters = new FastMap<Integer, List<Integer>>().shared();
|
||||
_teamsBasedRegisters = new FastList<List<Integer>>().shared();
|
||||
_nonClassBasedRegisters = new CopyOnWriteArrayList<>();
|
||||
_classBasedRegisters = new ConcurrentHashMap<>();
|
||||
_teamsBasedRegisters = new CopyOnWriteArrayList<>();
|
||||
}
|
||||
|
||||
public static final OlympiadManager getInstance()
|
||||
@@ -81,7 +80,7 @@ public class OlympiadManager
|
||||
{
|
||||
if (result == null)
|
||||
{
|
||||
result = new FastList<>();
|
||||
result = new ArrayList<>();
|
||||
}
|
||||
|
||||
result.add(classList.getValue());
|
||||
@@ -258,7 +257,7 @@ public class OlympiadManager
|
||||
}
|
||||
else
|
||||
{
|
||||
classed = new FastList<Integer>().shared();
|
||||
classed = new CopyOnWriteArrayList<>();
|
||||
classed.add(charId);
|
||||
_classBasedRegisters.put(player.getBaseClass(), classed);
|
||||
}
|
||||
|
Reference in New Issue
Block a user