diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java index e7648b135b..f33705e6ad 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java @@ -16,8 +16,8 @@ */ package ai.others.ClanStrongholdDevice; -import java.util.HashMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.l2jmobius.gameserver.enums.ChatType; import org.l2jmobius.gameserver.model.Location; @@ -58,9 +58,9 @@ public class ClanStrongholdDevice extends AbstractNpcAI // Skill private static final SkillHolder CLAN_STRONGHOLD_EFFECT = new SkillHolder(48078, 1); // Misc - private static final Map CURRENT_CLAN_ID = new HashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) - private static final Map LAST_ATTACK = new HashMap<>(); // NPC object id key - Time value - private static final Map DEVICE_LOCATION = new HashMap<>(); + private static final Map CURRENT_CLAN_ID = new ConcurrentHashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) + private static final Map LAST_ATTACK = new ConcurrentHashMap<>(); // NPC object id key - Time value + private static final Map DEVICE_LOCATION = new ConcurrentHashMap<>(); private ClanStrongholdDevice() { diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java index e7648b135b..f33705e6ad 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java @@ -16,8 +16,8 @@ */ package ai.others.ClanStrongholdDevice; -import java.util.HashMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.l2jmobius.gameserver.enums.ChatType; import org.l2jmobius.gameserver.model.Location; @@ -58,9 +58,9 @@ public class ClanStrongholdDevice extends AbstractNpcAI // Skill private static final SkillHolder CLAN_STRONGHOLD_EFFECT = new SkillHolder(48078, 1); // Misc - private static final Map CURRENT_CLAN_ID = new HashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) - private static final Map LAST_ATTACK = new HashMap<>(); // NPC object id key - Time value - private static final Map DEVICE_LOCATION = new HashMap<>(); + private static final Map CURRENT_CLAN_ID = new ConcurrentHashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) + private static final Map LAST_ATTACK = new ConcurrentHashMap<>(); // NPC object id key - Time value + private static final Map DEVICE_LOCATION = new ConcurrentHashMap<>(); private ClanStrongholdDevice() { diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java index e7648b135b..f33705e6ad 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java @@ -16,8 +16,8 @@ */ package ai.others.ClanStrongholdDevice; -import java.util.HashMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.l2jmobius.gameserver.enums.ChatType; import org.l2jmobius.gameserver.model.Location; @@ -58,9 +58,9 @@ public class ClanStrongholdDevice extends AbstractNpcAI // Skill private static final SkillHolder CLAN_STRONGHOLD_EFFECT = new SkillHolder(48078, 1); // Misc - private static final Map CURRENT_CLAN_ID = new HashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) - private static final Map LAST_ATTACK = new HashMap<>(); // NPC object id key - Time value - private static final Map DEVICE_LOCATION = new HashMap<>(); + private static final Map CURRENT_CLAN_ID = new ConcurrentHashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) + private static final Map LAST_ATTACK = new ConcurrentHashMap<>(); // NPC object id key - Time value + private static final Map DEVICE_LOCATION = new ConcurrentHashMap<>(); private ClanStrongholdDevice() { diff --git a/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java b/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java index e7648b135b..f33705e6ad 100644 --- a/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java +++ b/L2J_Mobius_Essence_6.3_Crusader/dist/game/data/scripts/ai/others/ClanStrongholdDevice/ClanStrongholdDevice.java @@ -16,8 +16,8 @@ */ package ai.others.ClanStrongholdDevice; -import java.util.HashMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.l2jmobius.gameserver.enums.ChatType; import org.l2jmobius.gameserver.model.Location; @@ -58,9 +58,9 @@ public class ClanStrongholdDevice extends AbstractNpcAI // Skill private static final SkillHolder CLAN_STRONGHOLD_EFFECT = new SkillHolder(48078, 1); // Misc - private static final Map CURRENT_CLAN_ID = new HashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) - private static final Map LAST_ATTACK = new HashMap<>(); // NPC object id key - Time value - private static final Map DEVICE_LOCATION = new HashMap<>(); + private static final Map CURRENT_CLAN_ID = new ConcurrentHashMap<>(); // Clan id key - NPC object id value (can be taken from npc.getScriptValue) + private static final Map LAST_ATTACK = new ConcurrentHashMap<>(); // NPC object id key - Time value + private static final Map DEVICE_LOCATION = new ConcurrentHashMap<>(); private ClanStrongholdDevice() {