|
@@ -20,6 +20,7 @@ package ai.individual;
|
|
|
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
+import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
|
|
import javolution.util.FastSet;
|
|
|
import ai.npc.AbstractNpcAI;
|
|
@@ -31,7 +32,6 @@ import com.l2jserver.gameserver.model.actor.L2Attackable;
|
|
|
import com.l2jserver.gameserver.model.actor.L2Character;
|
|
|
import com.l2jserver.gameserver.model.actor.L2Npc;
|
|
|
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
|
|
-import com.l2jserver.util.L2FastMap;
|
|
|
|
|
|
/**
|
|
|
* Dark Water Dragon's AI.
|
|
@@ -46,7 +46,7 @@ public final class DarkWaterDragon extends AbstractNpcAI
|
|
|
private static final int DETRACTOR2 = 22271;
|
|
|
private static Set<Integer> SECOND_SPAWN = new FastSet<>(); // Used to track if second Shades were already spawned
|
|
|
private static Set<Integer> MY_TRACKING_SET = new FastSet<>(); // Used to track instances of npcs
|
|
|
- private static Map<Integer, L2PcInstance> ID_MAP = new L2FastMap<>(true); // Used to track instances of npcs
|
|
|
+ private static Map<Integer, L2PcInstance> ID_MAP = new ConcurrentHashMap<>(); // Used to track instances of npcs
|
|
|
|
|
|
private DarkWaterDragon()
|
|
|
{
|