From 559ba288e6275dabaf98bb9983ccfe0de6a141c4 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 8 May 2021 20:19:32 +0000 Subject: [PATCH] Fixed incorrect check for containsKey at saveHeroMessage method. --- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- .../java/org/l2jmobius/gameserver/model/olympiad/Hero.java | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a0334635fe..43b8509d4e 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a0334635fe..43b8509d4e 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a0334635fe..43b8509d4e 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a0334635fe..43b8509d4e 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a0334635fe..43b8509d4e 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index cf96eac121..751ee7b4f6 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index cf96eac121..751ee7b4f6 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index afdbe5903c..3f0d503116 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index afdbe5903c..3f0d503116 100644 --- a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index afdbe5903c..3f0d503116 100644 --- a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index d144d0c5a0..6ea4e0ff62 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -827,7 +827,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index a4605e0c9b..2601b87f3e 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -827,7 +827,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 2fb3a1e1b5..3a0977bee9 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 902e9d3c27..015cd1dfd1 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -828,7 +828,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 2fb3a1e1b5..3a0977bee9 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; } diff --git a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/olympiad/Hero.java b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/olympiad/Hero.java index 2fb3a1e1b5..3a0977bee9 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/olympiad/Hero.java +++ b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/olympiad/Hero.java @@ -853,7 +853,7 @@ public class Hero */ public void saveHeroMessage(int charId) { - if (HERO_MESSAGE.containsKey(charId)) + if (!HERO_MESSAGE.containsKey(charId)) { return; }