Skip to content
Snippets Groups Projects
Commit ab4c278b authored by Rumen Nikiforov's avatar Rumen Nikiforov
Browse files

BETA: Fixing little typo in TarBeetleSpawn (_spawnList wasn't thread-safe)

	* Reported by: MELERIX
parent a83927a9
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,8 @@ import java.util.Iterator; ...@@ -21,6 +21,8 @@ import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javolution.util.FastMap;
import org.w3c.dom.NamedNodeMap; import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node; import org.w3c.dom.Node;
...@@ -40,7 +42,7 @@ import com.l2jserver.util.Rnd; ...@@ -40,7 +42,7 @@ import com.l2jserver.util.Rnd;
public class TarBeetleSpawn extends DocumentParser public class TarBeetleSpawn extends DocumentParser
{ {
private static final Map<Integer, SpawnZone> _spawnZoneList = new HashMap<>(); private static final Map<Integer, SpawnZone> _spawnZoneList = new HashMap<>();
private static final Map<Integer, Beetle> _spawnList = new HashMap<>(); private static final Map<Integer, Beetle> _spawnList = new FastMap<>();
public static List<Integer> lowerZones = new ArrayList<>(); public static List<Integer> lowerZones = new ArrayList<>();
public static List<Integer> upperZones = new ArrayList<>(); public static List<Integer> upperZones = new ArrayList<>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment