public void clean()
{
- for (int i = 31921; i < 31925; i++)
+ for (Entry<Integer, int[]> hallSpawn : _startHallSpawns.entrySet())
{
- final int[] loc = _startHallSpawns.get(i);
+ final int[] loc = hallSpawn.getValue();
GrandBossManager.getInstance().getZone(loc[0], loc[1], loc[2]).oustAllPlayers();
}
-
+
deleteAllMobs();
-
closeAllDoors();
-
- _hallInUse.clear();
- _hallInUse.put(31921, false);
- _hallInUse.put(31922, false);
- _hallInUse.put(31923, false);
- _hallInUse.put(31924, false);
-
+
+ for (Entry<Integer, int[]> hallSpawn : _startHallSpawns.entrySet())
+ {
+ _hallInUse.put(hallSpawn.getKey(), false);
+ }
+
for (int npcId : _archonSpawned.keySet())
{